Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1145383

    bezambar
    Participant

    The login should work now

    #1146013

    Rad
    Moderator

    Hi there,

    Please change this code,

    function add_hentry_class($classes){
      if ( x_is_product() ) {
        $classes[] = 'hentry';
      }
    
      return $classes;
    }
    add_filter('post_class', 'add_hentry_class');

    to this,

    function add_hentry_class($classes){
      if ( is_search() ) {
        $classes[] = 'hentry';
      }
    
      return $classes;
    }
    add_filter('post_class', 'add_hentry_class');

    The hentry is not applied on search page items. And your FTP isn’t working, can’t connect to it.

    Thanks!

    #1147608

    bezambar
    Participant
    This reply has been marked as private.
    #1147774

    Rad
    Moderator

    Hi there,

    I made some changes to /wp-content/themes/x/framework/views/global/_index.php but it’s not taking any effect. I did intentionally trigger an error and even provided dummy texts and it’s not appearing.

    I cleared cache and still the same. Since this is hosted on WPEngine, would it be okay to enable your dev site where cache are disabled?

    Thanks!

    #1147865

    bezambar
    Participant
    This reply has been marked as private.
    #1147874

    Rad
    Moderator

    Hi there,

    Thanks, it working here http://bezambar.staging.wpengine.com/?s=a and template content-product.php are displaying the added information

    Excerpt
    Price
    SKU

    Now, edit your content-product.php and format it, or even add structure to make it more reasable.

    Cheers!