Using [shortcode] in title.
-
So far I love this plugin but I use shortcodes in my title and access them with get_the_title() which has always worked. I have the title to shortcode enabled on my site. My problem is I cannot figure out where (if it is possible) to change the title output to do my shortcode. I tried this:
$zg_get_title = get_the_title($value+0);
and this:
echo "<a href=\"". get_permalink($value+0) . "\" title=\"". $zg_title_out->post_title . "\">". get_the_title($value+0) . "</a>\n";
but both give a sql error so I am missing something about the loop. I would love to see if this can be done.
Thanks!
https://www.ads-software.com/extend/plugins/last-viewed-posts/
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Using [shortcode] in title.’ is closed to new replies.