• Resolved GnorthernGnome

    (@gnortherngnome)


    I’m currently using the MysiteMyway Modular Theme. As part of it’s setup, you can choose to have a banner image on any blog post you make. I would like to display the banner image of the latest post on my home page, but cannot work out how to do so.

    I was wondering if anyone has ever tried to do anything like this before? There must be a hook to pull the data off the post somehow?

    So far, I’ve managed to return a key/value pair, which looks like this:
    _intro_custom_banner - a:1:{s:3:"url";s:97:"http://www.mywebsite.co.uk/wp-content/uploads/image.jpg";}

    I’ve been messing around with preg_split to try and pull the url out but without success (reg exp’s are still a bit beyond me, only started with php two months ago!).

    Any help would be greatly appreciated!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Call theme elements’ is closed to new replies.