WordPress.org

Support

Support » Plugins and Hacks » Meta Slider » [Resolved] Separate photo per event

[Resolved] Separate photo per event

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Matcha Labs

    @matchalabs

    Hi,

    You would need to create a new slideshow for each event and update your homepage shortcode with the latest event/slideshow.

    Regards,
    Tom.

    Thanks #Matcha Labs But I am using template include code inside footer.php also I use shortcode in category and is fine but about front page how can I update on front page without going to footer.php.

    Plugin Author Matcha Labs

    @matchalabs

    Hi, you would need to set up a ‘Latest Events’ slideshow and include that in your footer. There’s no special shortcode to pull out the latest slideshow (which I think is what you’re looking for)

    Regards,
    Tom.

    hmm Thanks my problem is some person in our website work on slideshow they are editor and they don’t have a permission to edit footer.php So I thought we can use your plugin without back to php files. Thanks for you.

    Plugin Author Matcha Labs

    @matchalabs

    Hi,

    In your footer code, you could do something like:

    $latest_slideshow = {find the latest slider ID (query the ml-slider post type)};

    <?php echo do_shortcode(“[metaslider id={$latest_slideshow}]”) ?>

    Regards,
    Tom

    If you mean should be I put that code, I did. but show the error on the front page

    Parse error: syntax error, unexpected ‘[‘, expecting ‘)’ in C:\Program Files\wamp\www\imckiraq\wp-content\themes\twentyeleven-child\footer.php on line 35

    Plugin Author Matcha Labs

    @matchalabs

    Hi, i’ve updated the post now. It is just psuedo code so you’ll need to work out how to find the latest slider ID. This isn’t something usually covered by free support sorry (I’m not sure if you have a pro license? If you do, email me), you should be able to work out how to find the latest slider with some googling – http://www.google.co.uk/search?q=wordpress+find+latest+post

    (the post type for meta slider is ‘ml-slider’)

    Regards,
    Tom.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] Separate photo per event’ is closed to new replies.
Skip to toolbar