WordPress.org

Ready to get started?Download WordPress

Forums

Boot Store
Each individual product's page has 'bre_add_to_home_carousel:' (2 posts)

  1. prabhjot91
    Member
    Posted 9 months ago #

    each product is ok when seen in grid view but when individually the page of the product is opened , it has bre_add_to_home_carousel: this written and at 1 product it also has this
    bre_image_for_carousel: s:226:"a:3:{s:4:"file";s:76:"/home/celebraw/public_html/wp-content/uploads/2013/10/Optimized-DSC_1197.jpg";s:3:"url";s:78:"http://www.celebratecity.com/wp-content/uploads/2013/10/Optimized-DSC_1197.jpg";s:4:"type";s:10:"image/jpeg";}";

  2. austin breslin
    Member
    Posted 8 months ago #

    OK I found the problem. For some reason within the boostrap-carousel-class.php, might be spelt wrong but that's pretty close. The code actually edits the meta tag. There is no reason for this, well none I'm aware of.

    On line 59/60 might have lost count. Your looking for

    update_post_meta( $post_id, 'bre_add_to_home_carousel', isset( $_POST['bre_add_to_home_carousel'] ) );

    Comment it out, this only works for products not added to the carousel.

    There is a similar bug on line 67/68. It's within the else and says update_post_meta.

    I have an alternative slider already, so I commented out both lines. Besides completely breaking the carousel I see no problems.

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.