• Resolved kmuth

    (@kmuth)


    I’m using your plugin for a client and think it’s absolutely fab, but I’m having a problem with the meta position in Post Grid 2. To wit, when I change the setting from ‘top’ to ‘bottom’, the html output defaults to ‘top’. The positioning shows correctly in both visual and code editors, but the refreshed page is not showing the change. I checked a couple of other views and am getting the same issue on Post Grid 3 and Post List 3. Thanks for your help!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author WPXPO

    (@wpxpo)

    Hi @kmuth,

    Thanks for your ticket. We check your problem, we are sorry to say that this is our plugins bug.
    ?
    We will fix this as soon as possible with a high priority. Our developer already concerns about this bug and he is now trying to solve this bug. But as his words, he needs some time to solve it. After solving the problem I will send you the immediate fix.

    Thread Starter kmuth

    (@kmuth)

    Thanks for your quick reply. There’s a missing conditional at line 2320 of Post-List-2.php, so the value of metaPosition is getting ignored. Restoring the conditional there and at line 2343 fixed it for me.

    // Meta
    if( $attr['metaPosition'] =='top' ) {
        include ULTP_PATH.'blocks/template/meta.php';
    }
                                            
    // Title
    if ($title && $attr['titleShow'] && $attr['titlePosition'] == 0) {
        include ULTP_PATH.'blocks/template/title.php';
    }
    
    // Excerpt
    if(($idx == 0 || $attr['showSmallExcerpt']) && $attr['excerptShow']) {
        if ( $attr['showFullExcerpt']== 0 )  {
            $post_loop .= '<div class="ultp-block-excerpt">'
                .ultimate_post()->excerpt($post_id, $attr['excerptLimit']
                ).'</div>';
        } else {
        $post_loop .= '<div class="ultp-block-excerpt">'.get_the_excerpt().'</div>';
        }
    }
    
    // Read More
    if ($attr['readMore'] && ($idx == 0 || $attr['showSmallBtn'])) {
            $post_loop .= '<div class="ultp-block-readmore"><a href="'.$titlelink.'">' 
                ($attr['readMoreText'] ? $attr['readMoreText'] : __( "Read More", 
                "ultimate-post" )).ultimate_post()- 
                >svg_icon($attr['readMoreIcon']).'</a>. 
                </div>';
    }
    
    // Meta
    if( $attr['metaPosition'] =='bottom' ) {
         include ULTP_PATH.'blocks/template/meta.php';
    }
    Plugin Author WPXPO

    (@wpxpo)

    Hi @kmuth,

    You are so smart. We will release an update as soon as possible.

    Have a nice day.

    Thread Starter kmuth

    (@kmuth)

    Excellent. Glad to have been able to help! It’s a great plugin.

    Plugin Author WPXPO

    (@wpxpo)

    Hi @kmuth,

    Thanks for your support ticket. Without the support ticket, we will not fix the bug. We already update our plugins. Please install latest version. I hope your issue is solved. If you have any more question let me know. I will try to solve your problem as soon as possible.

    If you are satisfied with our support then give us a five-star review in the WordPress directory. As a new plugin developer, it helps us a lot.

    Have a nice day.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Post Grid 2 meta position’ is closed to new replies.