Shortcode for author should contain no (or different) link
-
[wpp stats_views=0 stats_date=1 stats_author=1 range='all' limit=1 cat='-5' excerpt_by_words=1 excerpt_length=20 thumbnail_width=350 thumbnail_height=250 wpp_start='<div class="brick_list">' wpp_end='</div>' post_html='<div class="brick_item" data-url="{url}"><div class="brick_item-image">{thumb_img}</div><div class="brick_item-header text-left">{dateandaction}<p>{tags}</p><h4><a class="blocklink" href="{url}">{text_title}</a></h4></div><div class="brick_item-body"><span class="wpp-excerpt">{summary}</span></div><div class="brick_item-footer"><div class="author_infobox">{avatar}<span class="author_name d-inline-block notranslate">{author}</span></div></div></div>']
Dear Hector
As you know (:-)) we are using your plugin inside the SA Slider plugin.
In the slides, we have the code shown above.
{avatar} and all the other placeholders are being resolved correctly, either by default or with additional code in the functions.php.
But {author} is linking to an author page (but not to the website that is defined in the User setup in WP admin).
How do I change the link? It should either link to the author website – or (even better) be removed at all, only displaying the author name, without linking anywhere.
Can you help me with that?
Thanks in advance and all the best,
BiancaThe page I need help with: [log in to see the link]
- The topic ‘Shortcode for author should contain no (or different) link’ is closed to new replies.