page.php edit for plugin

Homepage Community Forums Epik Theme Support page.php edit for plugin

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #16569
    jonathonfowler
    Customer

      Hi,

      I have a slider which i’m havign trouble embedding properly. The tutorial advises me to use a widget, which isn;t possible as Epik widgets only work on the homepage or a sidebar, so that’s no use.

      I can also embed using php, but it advises me to do this on the page.php, but here isn’t a page.php in Epik.

      I could use the page_landing.php, bu tot work i need to add a line of code before the loop, but here isn’t a loop section on page_landing.php

      The instructions on the plugin are pretty straightforward:

      Next, decide where you want the slider to appear within your theme. Usually this will be somewhere inside your theme’s “page.php” file. To edit this file, from the main WordPress menu, hover your mouse over the “Appearance” menu item and select “Editor”. Then select “page.php” from the files listed on the right side of the page.

      Inside you’re theme’s “page.php” file, you should see something called “The Loop”:

      the_loop

      “The Loop” is where the page’s main content will get added to the page. So for this example, we’ll add the slider directly above the page’s main content, hence: before “The Loop”.

      put_rev_slider

      Because we passed in “homepage” as the second argument, even though the slider is now embedded into the “page.php” file directly, it will only appear on the homepage you’ve designated for your site.

      I just need a page to edit that contains the above php…but can’t see the page.php on Epik.

      Any advice please?

      #16570
      jonathonfowler
      Customer

        Resolved using Genesis simple hooks plugin.

      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.