Jump to content

- - - - -

Pagelines - Above the first post

  • Please log in to reply
1 reply to this topic

#1 rockydude



  • Members
  • Pip
  • 1 posts
  • Country: Country Flag

Posted 04 November 2013 - 09:16 PM


i need to add some php code above the blog's first post. does anyone know which php file i need to edit? I am trying to add some contents only on the homepage above the first post.


thank you

#2 Danny


    Is Awesome!

  • Moderators
  • 19784 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 05 November 2013 - 11:25 AM



You should use a hook, editing the core code is not recommended nor supported.

You can use ActionMap or Hooker to assist you in adding custom PHP code above your first post location. See here for more information - http://docs.pageline.../advanced/hooks


To add this custom code to your homepage only, you will need to also use the following in your code.