• Resolved squalk25

    (@squalk25)


    Hello – really liking the theme, due primarily to the graphic layout of posts on the front page (using the slider or not). However I’m trying to figure out how to add some code to those posts – to allow for a custom field to be displayed – but can’t locate where the layout is being set to add the necessary php.

    I can adjust css for the front page by descending from .home, but any mucking I’m doing (even simply changing the ‘Read more’ text to something else for test purposes) doesn’t affect the home page, so I must be looking in the wrong place.

    Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Rajesh Gupta

    (@rajeshcvani)

    Hi squalk!

    Hope you are modifying the theme in your child theme. If not, please follow instructions here to create a child theme. https://codex.ww.wp.xz.cn/Child_Themes

    Since I am not clear about what exactly you want to do, I would like you to see template hierarchy page for details about how WordPress template pages work. https://codex.ww.wp.xz.cn/Template_Hierarchy

    Hope this will help you.

    Thread Starter squalk25

    (@squalk25)

    Turns out I was reading your loops far too quickly – I missed that you have the all templates first checking to see if it’s a search or home page, and then laying out via the ‘else’ clause. So to achieve what I was looking to achieve, I needed to alter the basic excerpt function, as it will only come into play on search and home pages.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Front page posts called from where?’ is closed to new replies.