Forum Replies Created

Viewing 8 replies - 31 through 38 (of 38 total)
  • Thread Starter awelsh

    (@awelsh)

    The reason for the 0 length is simply to get access to the read more link without displaying the content, since I’m displaying it with [excerpt].

    Thread Starter awelsh

    (@awelsh)

    Strange. I made the custom field with the Types plugin (https://wp-types.com) but it didn’t work. So I downloaded the Advanced Custom Fields plugin and it worked.

    Thanks for your help. I’ll leave a good review.
    Adrian

    Thread Starter awelsh

    (@awelsh)

    Thanks for your reply. Using the Excerpt box strips all the html so that is not a solution. However, your second option sounds interesting, but I just can’t seem to get it to work. I’ve created a custom field called “custom excerpt”, but not sure what shortcode to use to display it? Can you give an example?

    Thanks,
    Adrian

    Thread Starter awelsh

    (@awelsh)

    I managed to find a way a way around this. I just added a [content] after [excerpt] and gave it a length of 0. Not the most intuitive way, but with a plugin as power as this, you can often achieve amazing things if you think outside the box.

    Here is what I end up doing for those interested:

    [field excerpt][content length=”0″ more=” … Read more”]

    Adrian

    Thread Starter awelsh

    (@awelsh)

    Don’t worry, I found the problem. There must be a conflict with accessing the tmp directiory on my XAMPP install. Since it is a testing server, I just set all the permissions to read/write.

    Thread Starter awelsh

    (@awelsh)

    Ewout I just saw the update you pushed through and after updating this has fixed the issue. Thank you so much for your help.

    Adrian

    Thread Starter awelsh

    (@awelsh)

    Hi Ewout,

    Thanks for your quick reply. I put the new code in but unfortunately it is still not working. Below is what my wpmenucart.js file looks like now:

    [ Moderator note: please wrap code in backticks or use the code button. Don’t use blockquote. ]

    /*
     * JS for WPEC and EDD
     */
    jQuery(document).ready(function($) {
      $("input.edd-add-to-cart").click(function(){
          WPMenucart_Timeout();
      });
    
    $(".eshopbutton").click(function(){
          WPMenucart_Timeout();
      });
    
      function WPMenucart_Timeout() {
          setTimeout(function () { WPMenucart_Load_JS(); }, 1000);
      }
    
      function WPMenucart_Load_JS() {
        $('#wpmenucartli').load(wpmenucart_ajax.ajaxurl+'?action=wpmenucart_ajax&_wpnonce='+wpmenucart_ajax.nonce);
      }
    });

    I also changed back to the default wordpress theme but it still didn’t help. Thanks for your help.
    Adrian

    Forum: Plugins
    In reply to: [eShop] Zero cost orders
    Thread Starter awelsh

    (@awelsh)

    Please disregard my original post. I’m not sure what I have done, but for some reason it is now recognising my shipping costs and working as it should. I switched from using custom css to default, but I don’t think this would have effected it. I also switched from country to state and then back to country, but again I can’t see how this would have effected it.

Viewing 8 replies - 31 through 38 (of 38 total)