searching short code for recent posts

Open
REHub - Price Comparison, Affiliate Marketing, Multi Vendor Store, Community Theme REHub - Price Comparison, Affiliate Marketing, Multi Vendor Store, Community Theme September 16, 2019
Login to reply
ilan lachish
1 week ago

my goal :

display sidebar with latest post relvant to post or review and by tag criteria of the post

i can do it by code  :  """ $postslist = get_posts( $args );    'tag__in' => $tags[0]->name  """

but i want to insure that the standart shortcode cant help me  ?

[wpsm_recent_posts_list catid=37 show=5 image=1]

is there any standart solution of the theme ?

ilan lachish
3 weeks ago

Excellent

Igor Sunz Support Agent
1 month ago

[wpsm_recent_posts_list catid=37 show=5 image=1]

try

ilan lachish
1 month ago

hello  ,

rehub ver 9.4.4

i want to show 5 last post type(review) by catid  in the sidebar,

i search in the document :

http://rehubdocs.wpsoul.com/docs/rehub-theme/how-to/custom-post-type-list-in-sidebar/ 

also checked all the widgets , like "ReHub: Top Offers/Products"

but the most simular for what i want is :

[wpsm_recent_posts_list catid=”37″ show=”5" image="1"]

the problem is that i cant control the number of post that been displays , i see 8 and not 5 that i want.

is there any solution/shortcode ?

thanks