Support » Plugin: Recent Posts Plus » category name and link

  • Hi ,

    you seem to have taken the template tags for category name and link out !?
    anyway, i was using them in a previous version (which obviously broke when updating)

    so in case someone has the same problem what worked for me :

    ca. line 126 after
    $ID = get_the_ID();

    $CATEGORY =  get_the_category($ID);
    $CATEGORYLINK = get_category_link($CATEGORY[0]->term_id);

    and also insert

    '{CATEGORY_NAME}' => $CATEGORY[0]->name,
                        '{CATEGORY_LINK}' => $CATEGORYLINK,

    around line 150

    maybe one could add these to the plugin again ?

  • The topic ‘category name and link’ is closed to new replies.