Advanced Most Recent Posts
-
I have this first rate plugin applied as a widget in my navigation bar.
How can I apply the same to a post or specifically a page?
thanks
w
-
Glad to hear it!
Not an “official” release yet, but this version supports shortcodes as well as a few other options: https://trepmal.com/2010/05/advanced-most-recent-posts-mod/
Intersting the output does not render in Google Chrome?
Does in Firefox and not in IE.
Come to that the entire them does not work in IE??
Will start a new thread for that.
Haven’t seen the new thread yet, but in the event you haven’t figured it out, could you provide a few details:
which output (widget, template tag, shortcode) isn’t working
a link to the site – makes troubleshooting browser issues much easierHello
Have aked some help from the theme designer and awaiting any response.
Upon checking with IE the home page does not render correctly. But the other pages are fine. {when I am back to work I’ll shift the widgets to see if it is any of them]
Chrome the theme works when I remove the shortcodes below and add back in your recommended code.
Took out the shortcodes:
-[random-post-box]
-[related-posts-thumbnails]The rest are widgets
Link:
https://www.cars-n-bikes.com/index.php [here’s hoping we wont get spammed to buggery now.]Home page seems to be the only problem page in IE as of now.
I will be away for a few days now and wont respond immedediately.
w
trepmal
On a separate matter: are you aware of an User access level plugin which simply controls what Authors can see and use?
w
There’s a lot of MS Word code in there that could be messing things up – I’d recommend cleaning that up as much as possible. Then run the page though the W3C validator again https://validator.w3.org/check?verbose=1&uri=https://www.cars-n-bikes.com/
As far as a user access plugin, I stumbled across this just the other day, adminimize. Haven’t had a chance to test it, but it has nice ratings.
Yes the MS Word code was messing things.
Cleaned that out and page renders fine in all primary browsers.
I have lot of other queries I want to ask [I am very green on wordpress and was vacillating between two other CMS’s – I love using WP now apart from some bits it is very intuitive].
Should I simply start new threads?
w
I’d definitely check out the forums to see if someone has already had the same question (https://www.ads-software.com/support/).
If not, starting a new thread will make it easier for someone who’s researching the same question to find the thread (and hopefully an answer).Also there are tons of WordPress-centric blogs out there that cover beginner and advanced topics (for example: https://wpbeginner.com/) – if you haven’t already, you might bookmark/subscribe to a couple.
(BTW, my plugin mod is now officially available: https://www.ads-software.com/extend/plugins/advanced-most-recent-posts-mod/)
Thanks
The responses to posts here is very patchy at times and not very timely. You have been by far and away the most efective response [never mind effective]! So for me DIY seems to be the order of the day.
Many of the “support” forums per plugins are very random in their responses and/or tend to take a very long time to respond.
Anyway will check out your suggesions, not least the plugin. Speaking of which is this only as a widget?
w
I know the support forums here aren’t always the easiest to work with… but Automattic has been working on some upgrades – hopefully to make it easier for plugin/theme authors to answer questions.
The plugin I mentioned is the same one I posted earlier. It’s primarily a widget – but has the new shortcode option as well as the template tag.
Officially releasing it on www.ads-software.com means that it’ll be easier for users to get updates, and there will be a better home for support questions.
If you have quick questions, I can be reached on twitter, @trepmal.
I am not able to find the plugin using the plugin installation menu.
I am looking for the new shortcode [since i already have the plugin installed].
Doing an ‘author’ search for ‘trepmal’ should bring it up.
Shortcode is [amrp] and it accepts the same parameters as the template tag.
(‘true’ becomes 1, ‘false’ becomes 0)
So this:
<ul>[amrp limit=3 excerpt=150 firstimage=1 w=50 h=50]</ul>
returns the same info as what I posted previously:
<ul><?php if (is_front_page()) { $params = array('limit'=>3, 'excerpt'=>150, 'firstimage'=>true, 'w' =>50, 'h' => 50 ); yg_recentposts($params); } ?></ul>
- [amrp limit=3 excerpt=150 firstimage=1 w=50 h=50]
is to be inserted into to the Theme page.php (hence the
- dividers?
Reverting Q.
Separately, you recommended supercache. How do I regenerate altered pages instantly?
Found the plugin using author.
The shortcode can be added directly to your page/post (no need to edit theme files).
This has a few advantages:
* no need to mess with php – no risk of breaking your theme
* if the plugin is disabled, you won’t get an error (template tags left behind could break your theme)
* can be inserted within your content, rather than limited to before or afterAs far as supercache – I haven’t used it – but it looks like it should update itself when content is updated (https://www.ads-software.com/support/topic/plugin-wp-super-cache-should-i-clear-the-cache-periodically-for-this-plugin?replies=3)
I know that Quick Cache does. Quick cache also makes it really easy to clear cache manually.
- The topic ‘Advanced Most Recent Posts’ is closed to new replies.