0
votes
0answers
16 views

Recent Post Widget With Thumbnail [duplicate]

I'm using the below code to display recent post with thumbnail (the_post_thumbnail) in my theme. Is that possible using the below code to create a recent post widget with thumbnail ...
0
votes
2answers
4k views

Code for Recent Posts Widget

I want to make changes to code of the Recent Posts widget – could anyone please tell me where that code is located? Thank you in advance!
0
votes
1answer
213 views

How to add a recent post function to a text widget I created for practice?

I am currently being trained to create widgets and my mentor has asked me to create a text widget then add the ability to display the 5 most recent posts (all categories) on it. I am a little stumped ...
0
votes
1answer
146 views

Author Link in Recent Posts Widget

I want to add author link into the recent post widget. For example if any user post on my web from his LinkedIn ID (which I have allowed) so in Recent Posts where it shows, <time> By: ...
3
votes
2answers
168 views

How to target the default Recent Posts and Recent Comments widgets with pre_get_posts?

I added the following to my functions.php: add_action('pre_get_posts', 'keyl_get_emp_posts'); function keyl_get_emp_posts($query) { if ($query->is_main_query()) ...
1
vote
1answer
1k views

How to truncate titles in Recent Posts widget?

I read the thread here about this... http://wordpress.org/support/topic/truncate-titles-in-recent-posts-widget?replies=8 but the suggested solution didn't work, because I wasn't sure what to do with ...
0
votes
1answer
619 views

Customizing wordpress default widgets?

Is there anyway to customize the default WordPress widgets or do i need to create my own? For example, I want my recent post widgets to display date aswell. Thanks in advance! /Richard