Unlinked template text in teaser (1 post)

  1. websupportguy
    Posted 5 years ago #

    I have created a custom post template which works OK but it is printing the custom text without the URL in the teaser text.

    The custom template code I used is:

    <a href="{readmore}">Read original story at {feedtitle}</a> {content}

    To support this, I modified wpomatic.php around line 717 as follows:

    // Template parse
        $vars = array(
          '{readmore}' //added
        $replace = array(
          $item->get_link() /added

    Would appreciate some help to figure out what I did wrong. See what I mean at http://social-media-watch.com/category/test/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic