Tagged: x
-
AuthorPosts
-
July 10, 2016 at 11:48 am #1080320This reply has been marked as private.July 10, 2016 at 8:44 pm #1080682
Hello Dan,
We cannot upload any file with the ftp access.
The breadcrumb is being duplicated because you have added a line that displays it. Please remove this line from your code.
x_get_view( 'integrity', '_breadcrumbs' );
You already added the breadcrumb somewhere in the template so there is no need to have that line in your custom code.
July 11, 2016 at 12:04 am #1080817Thanks for your response. I have changed permissions, and you should have write access now.
I have reviewed the code, and in the functions.php I only have:
x_get_view( ‘integrity’, ‘_breadcrumbs’ );
One time…… So I think we are good on that front. The issue I am having is that the breadcrumbs are only showing on bottom of the slider on the main blog page and on one blog post that I have the: x_get_view( ‘integrity’, ‘_breadcrumbs’ ); in the functions.php file.Just to recap. I have:
– A main Blog page that lists the blogs: Works perfect.
http://dev01.everythingcloud.com/blog/
It’s code in functions.php:
// Adding a slider to the main blog page
// =============================================================================
add_action(‘x_before_view_integrity__landmark-header’, ‘custom_blog_header’);
function custom_blog_header() {
if ( is_home() ) {
echo do_shortcode(‘[rev_slider alias=”blog”]’);
}
}– A single post page: Works perfect.
http://dev01.everythingcloud.com/blog/clouds-arent-just-for-rainy-days/
It’s code in functions.php:
// Adding a slider to the clouds arnt just for rainy days post
// =============================================================================
add_action(‘x_before_view_integrity__landmark-header’, ‘CloudsArentJustforRainyDays’);
function CloudsArentJustforRainyDays(){
if (is_single( ‘Clouds Arenβt Just for Rainy Days’ ) ) {
echo do_shortcode(‘[rev_slider alias=”blog”]’);
}
{
x_get_view( ‘integrity’, ‘_breadcrumbs’ );
}
}– A single post page: Breadcrumbs are on top, I would like them on bottom.
http://dev01.everythingcloud.com/blog/about-dan-part-two/
It’s code in functions.php:
// Adding a slider to the Where it all started β Part Two post
// =============================================================================
add_action(‘x_before_view_integrity__landmark-header’, ‘WhereitallstartedPartTwo’);
function WhereitallstartedPartTwo(){
if (is_single( ‘Where it all started – Part Two’ ) ) {
echo do_shortcode(‘[rev_slider alias=”blog”]’);
}
}– A single post page: Breadcrumbs are on top, I would like them on bottom.
http://dev01.everythingcloud.com/blog/about-dan-part-one/
It’s code in functions.php:
// Adding a slider to the Where it all started β Part One post
// =============================================================================
add_action(‘x_before_view_integrity__landmark-header’, ‘WhereitallstartedPartOne’);
function WhereitallstartedPartOne(){
if (is_single( ‘Where it all started β Part One’ ) ) {
echo do_shortcode(‘[rev_slider alias=”blog”]’);
}
}Is there a way to make sure the breadcrumbs are always on the bottom of the slider.
Thanks!
DanJuly 11, 2016 at 2:07 am #1080928Hello Dan,
In my previous reply (https://community.theme.co/forums/topic/move-breadcrumbs-below-slider/#post-1075936), I have suggested a template change that will make sure that the breadcrumbs will always appear below your slider. I am not sure if you have implemented it or not. By the way, I could not check your development site. All I see is this:
Please double check your dev site. Thank you.
July 11, 2016 at 9:07 am #1081443Strange! I can see the site fine, but let me look into that.
Ah! I think you might be onto something! I did make the template change you suggested… this was done to the blog page. HOWEVER…… the page I’m having a issue with the breadcrumbs being on top is on a blog single post page…… and this cant be edited in corenerstone. So maybe this is the issue?Dan
July 11, 2016 at 11:56 am #1081751OK!
We are done!…. I was able to figure it out.What I needed to do was add this line to my wp-header.php file:
<?php x_get_view( ‘intergrity’, ‘_breadcrumbs’ ); ?>Then remove that same line from my functions.php file.
Now the breadcrumbs are only showing once and are below the slider.Thanks for all the help on this one!
DanJuly 11, 2016 at 12:20 pm #1081783Glad to hear you got it sorted out Dan. π
-
AuthorPosts