Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #420945

    I’m not sure why, but Blog Post excerpts are not working. I set the blog page for all the posts to be excerpted with a read more link, but none show. I tried doing a manual excerpt, too, but that didn’t change anything,

    http://relationships-at-work.com/blog/

    thank you

    #421561

    Hi gharding!

    can you provide us admin access so we can take a deeper look into the issue? you can post login details here as private reply.

    In the meanwhile please try to deactivate all plugins and let us know if this changes anything for the blog excerpts.

    Best regards,
    Andy

    #421565
    This reply has been marked as private.
    #421569
    This reply has been marked as private.
    #422872

    Hi!

    I can see different errors in chrome console for this website (most errors belonging to plugins). Make sure all plugins are up to date. Please deactivate all of them, afterwards you can activate them again one by one to see which plugin is causing this problem. Let us know about any news when you are done with it.

    Best regards,
    Andy

    #422874

    How can I deactivate WooCommerce? I get an error message when I do it and it breaks my site.

    #422921

    Hi!

    You should be able to deactivate it just like any other plugin, what error message are you getting and what exactly is happening to the site?

    Regards,
    Rikard

    #422931

    the entire homepage goes blank and I only get this error message: Fatal error: Call to a member function get_cart_subtotal() on a non-object in /home/d3brad/public_html/wp-content/themes/enfold-child/functions.php on line 11

    thanks
    gary

    #423464

    I fixed my problem by just creating a new blog post page. This is the second or third time I’ve figured this out about the Avia page builder: while it normally works extraordinarily well and is HUGELY useful, occasionally it is buggy, so if something doesn’t work, remove it and try it again and then it works.

    I would still like to remove WooCommerce if you can help me with that. It’s just there unnecessarily right now. thank you
    gary

    #424068

    Hey!

    Based on the error description it sounds like your using some WooCommerce code in your child theme. You’ll need to delete that if you wish to deactivate WooCommerce.

    Best regards,
    Elliott

    #424075

    where might I look to find this WooCommerce code. I didn’t change any of it directly, so there is nothing in my child theme’s css. I might have changed some CSS, but how would that mess it up?

    gary

    this is all I’ve changed:

    .widget {
    padding: 10px 0 10px 0;
    float: none;
    }

    h2 {text-transform: none;}

    .logo img {
    display: none;
    }

    .avia-desc-col.pricing-table li {
    text-align: left;
    }

    #header {
    margin-top: 200px;
    }

    .boxed #wrap_all {
    border-right: 1px solid #e1e1e1 !important;
    border-left: 1px solid #e1e1e1 !important;
    }

    .testbackgound {
    padding-top:20px;
    padding-bottom:20px;
    margin: 5px;
    background-image: url(http://relationships-at-work.com/wp-content/uploads/2015/01/symphony.png);
    background-repeat: repeat;
    border: solid 1px;
    line-height: 90%;
    }

    .testbackgound_blue {
    padding-top:20px;
    padding-bottom:20px;
    margin: 5px;
    background-image: url(http://relationships-at-work.com/wp-content/uploads/2015/03/symphony_blued.png);
    background-repeat: repeat;
    border: solid 1px;
    line-height: 120%;
    }

    #424421

    Hey!

    The error points to a code in the child theme’s functions.php file. Did you add anything there?

    EDIT: You have this code inside the child theme’s functions.php file:

    add_action('ava_after_main_menu', 'avia_add_woocommerce_cart_dropdown', 10);
    
    function avia_add_woocommerce_cart_dropdown() {
    	global $woocommerce, $avia_config;
    	$cart_subtotal = $woocommerce->cart->get_cart_subtotal();
    	$link = $woocommerce->cart->get_cart_url();
    
    	$output = "";
    	$output .= "<ul class = 'cart_dropdown visible_cart' data-success='".__('was added to the cart', 'avia_framework')."'><li class='cart_dropdown_first'>";
    	$output .= "<a class='cart_dropdown_link' href='".$link."'><span class='avia_hidden_link_text'>".__('Cart','avia_framework')."</span><span ".av_icon_string('cart')."></span></a><!--<span class='cart_subtotal'>".$cart_subtotal."</span>-->";
    	$output .= "<div class='dropdown_widget dropdown_widget_cart'><div class='avia-arrow'></div>";
    	$output .= '<div class="widget_shopping_cart_content"></div>';
    	$output .= "</div>";
    	$output .= "</li></ul>";
    
    	echo $output;
    }

    Best regards,
    Ismael

    #424441

    Ok!! that did it. We’re done. I found what I did to it. I had forgotten. thank you!

    gary

    #424490

    Hey!

    Glad we could help. :)

    Cheers!
    Ismael

Viewing 14 posts - 1 through 14 (of 14 total)
  • The topic ‘Blog Post Excerpts not working’ is closed to new replies.