Skip to content
Héctor Cabrera edited this page Feb 10, 2021 · 19 revisions

Frequently Asked Questions

I need help with your plugin! What should I do?

First thing is to read all the online documentation available (Installation, Usage, Wiki, and of course this section) as they should address most of the questions you might have about this plugin.

If you're still having problems with Recently, please try disabling all other plugins and then reenable them one at a time to check if any of them is causing a conflict. If that's not the case, try switching to a different theme for a moment and see the problem still persists.

Checking the Support Forum is also a good idea as chances are that someone else has already posted something about it.

Remember: read first. It'll save you (and me) time.


-FUNCTIONALITY-

Can Recently work with caching plugins (such as WP Super Cache)?

Yes, generally speaking the plugin should work with most (if not all) caching plugins/systems out there. However, note that:

  • When you first install the plugin and after every plugin update, flushing your caching plugin's cache is highly recommended to make sure that Recently can insert its JavaScript code into your posts and pages correctly.
  • Your caching plugin must regenerate/purge its cache at least once per day so Recently can work. The reason for this is that Recently uses a security token (or nonces as the WordPress team calls them) to prevent the misuse of the plugin by external actors. Said token expires roughly every 24 hours so in order for Recently to be able to do its job your site's cache should also be recreated every 24 hours (or less) so Recently can obtain a new security token. Alternatively, although not really recommended for security reasons, you could also have WordPress Nonces last as long as your site's cache lifetime. That way it won't be necessary to have your caching plugin regenerate its cache every day.
  • Some caching plugins include a JS minification/bundling feature. In some cases this (the minification/bundling thing) isn't handled properly, breaking Recently's ability to loads its widget via AJAX. See here for more details: Is Recently compatible with plugins that minify / bundle JavaScript code?
  • You'll want to make sure to enable the Ajaxify widget feature to keep your caching plugin from caching your recent posts widget (Settings > WordPress Popular Posts > Tools, Under Data set Ajaxify widget to Enabled, click on the Apply button below to save changes, then clear your caching plugin's cache for changes to take effect.)

Is Recently compatible with plugins that minify / bundle JavaScript code?

Some of the plugins that minify / bundle JavaScript code don't handle Recently's inline application/json script properly, breaking Recently's ability to display its recent posts widgets.

If this is your case please try clearing said plugin's JavaScript cache and check again. If Recently still doesn't work after that then make sure to exclude Recently's JavaScript files from the JS minification / bundling process.

For example:

  • If you're using the WP Optimize plugin, go to its Minify page then click on the JavaScript tab. Under Exclude JavaScript from processing add /recently/assets/js/ and save changes. Additionally, you may also need to disable the Process HTML option under the Minify Status tab as well (excluding WPP's JS as mentioned earlier should be enough though.) Finally, if you're using WP Optimize's Page Caching feature please go to its Cache page and click on Purge Cache for changes to take effect.
  • If you're using the Fast Velocity Minify plugin, go to its settings page and click on the Pro tab, then under Ignore List add /recently/assets/js/. When you're done, scroll down to the bottom of the page and click on Save Changes. Next, click on the Status tab and click on the Delete button under Purge the cache files so these changes are applied right away.
  • If you're using the Merge + Minify + Refresh plugin, add this line to the box under Ignore these files (one per line): https://www.my-domain.com/wp-content/plugins/recently/assets/js/recently.min.js (replace www.my-domain.com with your actual domain name) and save changes. Remember to click on Purge All afterwards for changes to take effect.
  • If you're using the Hummingbird plugin by WPMU DEV head to Hummingbird > Asset Optimization, then under Configuration > Exclusions click on File exclusions, select the recently-js option and click on Publish Changes. When you're done, go to Hummingbird > Caching > Page Caching and click on the Clear Cache button so these changes are applied to your website right away.

Other plugins provide a similar functionality to exclude specific JS files from its JS minification/bundling process. Make sure to check their documentation (or get in touch with its developers) for more details.

My current theme does not support widgets (booooo!) Can I show my recent posts in any other way?

Unfortunately, the answer is no. But that might change in the future.

I'm unable to activate the "Display post thumbnail" option. Why?

Please check that either the ImageMagick or GD extension is installed and enabled by your hosting.

How does Recently pick my posts' thumbnails?

You can tell Recently to pick the thumbnail from either of the following options (available at wp-admin > Settings > Recently > Tools):

  • Featured Image (default).
  • First image on post.
  • First attachment.
  • Custom field.

If no images are found, the default thumbnail will be displayed instead.

I'm seeing a "No thumbnail" image, where's my post thumbnail?

Make sure you have assigned one to your posts (see previous question).

Is there any way I can change that ugly "No thumbnail" image for one of my own?

Fortunately, yes. Go to wp-admin > Settings > Recently > Tools and check under Thumbnail source. Alternatively, you can also just replace the image sitting on wp-content/plugins/recently/.

Ideally, the thumbnail you're going to use should be set already with your desired width and height - however, the uploader will give you other size options as configured by your current theme.

I want to have a recent list of my custom post type. How can I do that?

Simply add your custom post type to the Types field in the widget.

How can I use my own HTML markup with your plugin?

Activate the Use custom HTML markup option from the widget and set your desired HTML tags in conjunction with Recently's built-in Content Tags (see wp-admin > Settings > Recently > Parameters) to customize the look & feel of the recent posts listing.

A more advanced way to customize the HTML markup is via WordPress filters by hooking into recently_custom_html. For details, please check the Filter Hooks page on the Wiki.

Can Recently run on WordPress Multisite?

While I have not fully tested it, Recently should work just fine (and if it doesn't, please let me know).


-CSS AND STYLESHEETS-

Does your plugin include any CSS stylesheets?

Yes, Recently includes a stylesheet called recently.css located at wp-content/plugins/recently/style. However, it doesn't include any predefined styles (well, almost).

Each time Recently is updated the recently.css stylesheet gets reset and I lose all changes I made to it. How can I keep my custom CSS?

Copying your modified recently.css file into your theme's folder will prevent future plugin updates from overwriting it with the default recently.css file.

How can I style my list to look like [insert your desired look here]?

Since this plugin does not include any predefined designs, it's up to you to style your recent posts list as you like.

If you don't know HTML/CSS -or if don't feel like styling the list yourself-, you should consider hiring someone to help you out (I'm also available for hire, just in case you're wondering).

I want to remove Recently's stylesheet. How can I do that?

You can disable the stylesheet via wp-admin > Settings > Recently > Tools.


-WIDGET SPECIFIC FAQS-

What does "Title" do?

It allows you to show a heading for your recent posts listing. If left empty, no heading will be displayed at all.

What is "Types" for?

This filter allows you to decide which post types to show on the listing. By default, it will retrieve only posts and pages (which should be fine for most cases).

What is "Taxonomy" for?

This allows you to filter posts by a given taxonomy. You could for example have Recently list all recent posts that belong to category Development; or filter out those posts with a given tag.

To use it, simply add the ID(s) of the term(s) ID (eg. the category ID). A negative sign in front of the ID (eg. -25) will exclude posts that are associated to it from the listing. You can specify more than one ID with a comma separated list (eg. 24,3,-25 <- this would return the most recent posts from categories 24 & 3 but exclude those that belong to category 25).

You can use a plugin like Reveal IDs to see the IDs of your categories, tags, etc. in the Categories / Tags / etc. screens of your WordPress dashboard.

What is "Authors" for?

Similarly to the Taxonomy filter, this one lets you filter posts by author ID. You can specify more than one ID with a comma separated list (but unlike the Taxonomy filter, you can't exclude author with a minus sign... yet).

You can use a plugin like Reveal IDs to see the IDs of your users in the Users Screen of your dashboard.

What does "Display post rating" do?

If checked, Recently will show how your readers are rating your recent posts. This feature requires having WP-PostRatings plugin installed and enabled on your blog for it to work.

What does "Use custom HTML Markup" do?

If checked, you will be able to customize the HTML markup of your recent posts listing. For example, you can decide whether to wrap your posts in an unordered list, an ordered list, a div, etc. If you know HTML/CSS, this is for you!


-OTHER STUFF THAT YOU (PROBABLY) WANT TO KNOW-

Does Recently support other languages than english?

Yes, check the Other Notes section at wordpress.org for more information.

I want to translate your plugin into my language / help you update a translation. What do I need to do?

First thing you need to do is get a gettext editor like Poedit to translate all texts into your language. You'll find several .PO files bundled with the plugin under the lang folder. Check this handy guide for more details.

If you're interested in sharing your translation with others (or just helped update an existing translation), please let me know (a pull request is welcome, too).

Also, to prevent plugin upgrades from overwriting your translation files place them in /wp-content/languages/plugins/.

I want your plugin to have X or Y functionality. Can it be done?

If it fits the nature of my plugin and it sounds like something others would like to have, there's a pretty good chance that I will implement it (and if you can provide some sample code with useful comments, much better).

Your plugin seems to conflict with my current Theme / this other Plugin. Can you please help me?

If the theme/plugin you're talking about is a free one that can be downloaded from somewhere, sure, I can try and take a look into it. Premium themes/plugins are out of discussion though, unless you're willing to grant me access to your site (or get me a copy of this theme/plugin) so I can check it out.

ETA for your next release?

Updates will come depending on my work projects (I'm a full-time web developer) and the amount of time I have on my hands. Quick releases will happen only when/if critical bugs are spotted.

I posted a question at the Support Forum and got no answer from the developer. Why is that?

Chances are that your question has been already answered either at the Support Forum, the Installation section or here in the FAQ section, so I've decided not to answer. It could also happen that I'm just busy at the moment and haven't been able to read your post yet, so please be patient.

Is there any other way to contact you?

The Support Forum is usually the best way to get in touch with me since I'm checking it constantly.

Clone this wiki locally