Hi Lukas, there is a shortcode to show the latest "X" posts? [ get_post ] only return the latest one and [ get_post id="ID" ] only a determined ID, but I need the latest in evidence and recent posts aside, in homepage, of course not in footer. Beside... there is a method to embed a widget in homepage with shortcodes? Thanks in advance
I think that is not possible to embed the widget in shortcode, but if you want to use more that one recent post in columns you can modify source code.
Possible way how to customize recent posts shortcode: 1. Open functions/shortcodes.php and navigate to function get_custom_post() 2. change this snippet $latest_post = get_posts( 'numberposts=1' ); 3. wrap rest of code in foreach
You must be little bit skilled coder to do these modifications
Hello there I have same question regarding [get_post] and i've tried solution u provided up there: $latest_post = get_posts( 'numberposts=1' ); i've changed in $latest_post = get_posts( 'numberposts=5' );
but still no more than only 1 latest post there... And yes i do have more than 5 :) What am i missing?
i feel stupid to reply to myself here but i DO wonder IF there is any news about this 'new' shortcode ? or shall i just find decent coder myself to solve problem stated in this topic ?