Jump to content


Custom Php Function To Honepage

This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic

#1 icex



  • Members
  • Pip
  • 3 posts

Posted 28 November 2012 - 08:45 PM

Hi, I would like to ask you for help.

On my website I need insert PHP function instead of homepage content. I can not use static homepage, because I need show dynamic data from database. I found function pagelines_after_main but this function insert data instead of css styles.    I can not use function pagelines_loop_before_post_content because I need different structure than other page. Can you advise, how I can insert custom PHP function on homepage into part with template style?   

#2 James B†

James B


  • DMS Subscriber†
  • 5126 posts

Posted 28 November 2012 - 09:49 PM

Hi there, what are you trying to put into the dynamic page other than the blog posts?

#3 icex



  • Members
  • Pip
  • 3 posts

Posted 29 November 2012 - 10:58 AM

I would like insert rettings and other dynamic information from database (my custom table) to main page.

#4 Danny


    Is Awesome!

  • Moderators
  • 19761 posts

Posted 29 November 2012 - 12:27 PM



I am not entirely sure what you're trying to do but if you wish to insert content onto a specific page in this case the homepage, you will need to use the is_home conditional tag in your hook.