Hi Anjuoh, have you tried to add the shortcode to your home page? For example
[sideshow_deploy id='677']
Remember to replace the id number above with your own.
Kind regards
Thread Starter
Anjuoh
(@anjuoh)
Hi mbrsolution,
this mght sound a little stupid, but what I haven’t been able to find is that Home page where I can add the shortcode.
I am using the Emphaino Theme and my home is a list – showreel of all posts made (kind of a news section, actually); I haven’t been able to find a place to post this.
I thought maybe the solution would be changing the line of the php code and telling wordpress to show the slideshow only in the homepage with this code:
<?php if( is_home() ) { ?>
But didn’t work…
Hi Anjuoh, is your website a full blog? Or do you have a home page in your blog?
Is this your first time using WordPress?
Kind regards
Thread Starter
Anjuoh
(@anjuoh)
It’s my first time building a web on WordPress, but I’ve been using it for sometime.
I really don’t know how to answer to that. It works similarly to my other website: jkrawietz.com
As you see, there is a main or “home” page where all post entries are listed, and there there are some pages with different information depending on the section.
I would want to show the Slideshow ONLY on that first homepage…
Thread Starter
Anjuoh
(@anjuoh)
Hi MbrSolution,
actually I managed to do it. I had a wrong line on my php code – I added this one on my Header.php and works like a charm
<?php do_action(‘slideshow_deploy’, ‘xxx’); ?>
Thanks anyway for your help!
best,
Anjuoh
Hi Anjuoh, I don’t know anything about the theme you are using.
Perhaps you should find out how to add a home page in your theme. Once you know how to add a home page then all you have to do is add a shortcode similar to the one I mention above. Once the shortcode is added to your homepage, it will only display on the homepage and no where else.
Kind regards