Hi @jrnotjnr21,
Not exactly the same design but maybe this can help: How to display a grid of popular posts in WordPress.
If you want a popular posts grid that looks exactly like your “Latest Posts” section but you don’t have the right skills to do it yourself, I’m available for freelance work.
Hi, how much do you charge?
Hi @jrnotjnr21,
Please get in touch with me to continue this conversation privately.
If you don’t provide some more details than just “I can’t make it work” I’m afraid I won’t be able to be of much help, @roygarciaonline ๐
- Why can’t you make it “work”?
- What’s the expected result vs what’s actually going on?
- Do you have an URL where I can see your code?
Let me try it again and see. ๐
I implemented the php code version of the method you showed.
Here’s the output.
https://squareonehosting.website/combatinsiders2/grid/
However, the thumbnails are not showing up. Not sure why.
When I go to the TOOLS of the plugin, the thumbnails cannot be changed. Not sure if this is working.
Hope you can help. Thanks.:)
@roygarciaonline please share your PHP code so I can have a look (use the code button to wrap it up so it doesn’t break the forum, or upload it somewhere like pastebin.com).
<?php
if ( function_exists('wpp_get_mostpopular') ) {
$args = array(
'range' => 'last24hours',
'post_type' => 'post',
'thumbnail_width' => 225,
'thumbnail_height' => 135,
'wpp_start' => '<ul class="wpp-grid">',
'post_html' => '<li>{thumbnail}{title}</li>'
);
wpp_get_mostpopular( $args );
}
?>
@roygarciaonline please change {thumbnail} for {thumb} and it should work. If it still doesn’t, then try this.