Tagged Questions
0
votes
2answers
454 views
get_posts displaying wrong permalink for “continue reading” link
I lifted the "continue reading" link functions from the Twenty Eleven theme and for the most part, it is working (works in RSS feeds).
I created a shortcode to display the latest post on the front ...
1
vote
1answer
393 views
get_the_content(“more…”) returns full text
I'm creating shortcode [latest_post] and want to show post date, title and short content. (content has "more" separator). Here is code:
function shortcode_latest_post() {
global $post, $more;
...
0
votes
2answers
390 views
get_posts not working on homepage?
I have a simple custom shortcode plugin where you give it a tag and it'll display the titles of all the posts with that tag.
e.g. In my post if I type "[listposts tag=oct-2011]" it will output the ...