• Resolved mcnaden

    (@mcnaden)


    Hi, I’m a total novice at coding. Could I get a little advice on a code problem I am having making a new page template?

    I have been able to put this page together from code existing on other pages on our site. We have a few pages on our site that are coded to call in groups of post thumbnails and excerpts using the plugin Recent Posts Widget Extended. I used this code to fill a column with a set of posts with one category. And I would like to do the same for 5 more sections but for some reason the code only works once. If I copy it to another section it generates nothing.

    I imagine the problem is something simple. Could anyone tell me what to change so that I can get the code to work in multiple sections?

    The first instance is in the section “content_left”. It is working there and you can see it live in the left column at http://bearleaderchronicle.com/site/frontpage2-test/

    I duplicated the code in the next section “content_video” and nothing happens.

    Any advice would be greatly appreciated. Thanks!

    [Large code/text excerpt removed by moderator per forum rules. Please use Pastebin or a Gist for all large code/text excerpts.]

    Code block here: https://pastebin.com/QsFYGYHG

    • This topic was modified 6 years, 11 months ago by bdbrown.
Viewing 1 replies (of 1 total)
  • Hi! Have you solved your problem?

    It would a good idea to share your solution here so other folks could learn with you if they find the same problem.

    Thank you!

Viewing 1 replies (of 1 total)
  • The topic ‘Custom Page Template Code Question’ is closed to new replies.