Hi Dazzling.
First of all love the theme - thanks.
Secondly. Is there a way to add a slider (or static image) similar to the one available on home page available on all pages? As in across the whole page right to the ends.
Have added a flexislider plugin but it is cut off by white at left and right sides.
You can add the same slider on all pages by removing
is_front_page() &&
from sparkling_featured_slider function inside extras.php file which you can find in Theme folder - inc.
To add custom images or custom slider for different pages you will have to use some plugin or add code directly into template files as there is no option for that.
Then, i want to this slider appears on all of page. So, i follow you instruction in this topic. I remove [is_front_page() &&] from [dazzling_featured_slider] function inside extras.php file.
But it not work.
Can you tell me if i do something wrong, or help me to find a solution for my problem. Thank you!
By static image I mean a single image added directly inside template file to replace slider. There is no way to just use random images for slider unless they are associated with post and category.
To make this work, you either have to recreate slider or have to use some slider plugin with functionality that you prefer.
I created fixed slider from some pictures that i want by using plugin Meta Slider, then I copy code slider and paste on Front-page.php, page.php, single.php after “get header” line.
The purpose of this work is to make apperance of Slider on Front page, all page, all post. I also want fixed Slider appear in Category, But i can’t find where to add code.
The code i used is: <center><?php echo do_shortcode("[metaslider id=56]");
?></center>.
Metaslider Id mean ID of Slider making by Plugin.
This is my website: http://canhovista-verde.com/
You can see, all pages are page type except Category “Tin Tức” and some writing in “Tin Tức” is post type. All page have Slider, except Category “Tin Tuc”.
Can you help me find a solution to make slider that i created appear on Category “Tin tuc”.
I’ve tried changing the code you suggested but it doesn’t work. The slider stays on the home page but on no other page. Is there something else to try?
Each menu item links to a separate page (and not a post) if that matters.
We are also using the full page template if that matters as well.