WordPress.org

Forums

Yet Another Related Posts Plugin (YARPP)
[resolved] YARPP PRO cant be disables (7 posts)

  1. Exoskeletor
    Member
    Posted 11 months ago #

    when im pressing the yarpp basic button and then the i only want YARPP Basic features button it keep me on the YARPP PRO page

    https://wordpress.org/plugins/yet-another-related-posts-plugin/

  2. jeffparker
    Member
    Plugin Author

    Posted 11 months ago #

    When you're using YARPP Pro and want to switch to YARPP Basic, you'll have to click an additional confirmation button. Did you see that and were you able to click it?

  3. Exoskeletor
    Member
    Posted 11 months ago #

    yes im clicking it and it stays on yarpp pro

  4. jeffparker
    Member
    Plugin Author

    Posted 11 months ago #

    Which theme are you using?

  5. Exoskeletor
    Member
    Posted 11 months ago #

  6. Exoskeletor
    Member
    Posted 11 months ago #

    ok i have deactivate and reactivate yarp and now i can switch to basic. i have another problem now. i have make my template:

    <?php
    /*
    YARPP Template: Fit-life
    Author: Christopher Drosos
    Description: A simple example YARPP template.
    */
    ?>
    <?php if (have_posts()):?>
    <style type="text/css">.meta{clear:both;}</style>
    <?php echo do_shortcode('[section_title style="strikethrough" border_color="#dddddd"]Παρόμοια Άρθρα[/section_title]'); ?>
    <?php $post_counter = 0;$column_last='false';
    $num = $wp_query->post_count; ?>
    	<?php while (have_posts()) : the_post(); ?>
    	<?php
    
    $post_counter++;
    $this_ID = get_the_ID();
    $post_class = join(" ", get_post_class('', $this_ID));
    $this_title = get_the_title($this_ID);
    $category = get_the_category($this_ID);
    $this_category_ID = $category[0]->cat_ID;
    $this_category_parents = explode(",", get_category_parents( $this_category_ID, false, ',', false ));
    $this_category = $this_category_parents[0];
    $this_thumb = get_the_post_thumbnail( $this_ID, 'yarpp-thumbnail');
    $this_permalink = get_permalink($this_ID);
    if ($post_counter==$num){
    echo '<div style="width:157px;height:130px;" class="one_fifth column_last">';}
    else {echo '<div style="width:157px;height:130px;" class="one_fifth">';}
    echo '<div class="display-posts-listing"><div style="width:157px;height:130px;width:100%;" class="'.$post_class.'">';
    echo '<h5><span style="top:0px;" class="popular">'.$this_category.'</span></h5>';
    echo '<a class="image-popular size-full wp-post-image" href="'.$this_permalink.'" title="'.$this_title.'">';
    echo $this_thumb.'</a>';
    echo '<a class="title_pop" href="'.$this_permalink.'" title="'.$this_title.'" rel="nofollow">'.$this_title.'</a></div></div></div>';
    
    	?>
    	<?php endwhile; ?>
    <?php else: ?>
    <?php endif; ?>

    but im getting also something more that doesnt belong to my template:
    <img src="http://yarpp.org/pixels/0bcb8e76d248ad71e0c7ee77cd5be883" alt="YARPP">
    what is this? how i can remove it?

  7. jeffparker
    Member
    Plugin Author

    Posted 11 months ago #

    That is tracking code that helps us improve YARPP. You can either leave it as is, or remove it by unchecking the "Send usage data back" box in the right sidebar of the YARPP Settings page in WP.

    Glad you got the other issue resolved!

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.