ColinD
Forum Replies Created
-
It seems that waiting for the cache to clear resolves the issue. I’m a bit unclear why they missing and now back. Is there anything we can do to prevent this in the future?
Seems to be post specific; some posts are displaying related post.
Ah, RTFM. Need to click the carrot
Just tried your plugin on a bare install and got this in response to
/wp-json/wp/v2/block-renderer/design/design?context=edit&_locale=userOther authenticated requests to REST API endpoints return valid responses
Thanks so much for digging into this for me. I’ve fixed up my code.
Sure. It works as expected on staging and dev. It’s on WP Engine hosting. My guess is that it is somehow related to the WP Engine production environment’s cache and/or CDN. How can I share access info to the staging site with you?
Thanks for you assistance
Chrome 69, Mac OS Mojave
I played with all the settings options before posting. If I check “Optimize CSS” on the first tab and leave everything as-is on the extra tab (google fonts: leave as is, optimize images: unchecked, remove emojis: unchecked, remove query string: unchecked) The error is present. If I try any of the extras it doesn’t change the error.
Is there a filter or hook I can plug in to in order to modify the validation rules?
Forum: Plugins
In reply to: [Featured Authors Widget] how to set cutome category to disply posts?Howdy. I just updated the plugin and added a filter, ‘cd_fa_post_query’ that you can hook into. The example below would only show posts by the author in the red category.
function example_featured_author_post_query($query){ $query['category_name'] = 'red'; return $query; } add_filter('cd_fa_post_query', 'example_featured_author_post_query');Its a standard argument array used for WP_Query class so you can use any argument you need.
Forum: Plugins
In reply to: [Featured Authors Widget] Pictures stopped displayingI’m glad you’ve found the plugin useful. I tried to replicate the issue on a site running WP 4.9.1 and tried a few different themes but was not able to replicate it.
The line that renders the author’s profile picture is simply to echo the built-in WordPress function get_avatar(). Strangely, your HTML renders
<img src="" />I’d recommend trying a default theme like TwentySeventeen in the customizer and see if you get different results. I’d also ensure your site is all up-to-date. You might inspect your php error log or enable WP_DEBUG_LOG and see if more specific errors show up there.
Forum: Plugins
In reply to: [Featured Authors Widget] Add BioHi,
Yours is the first request I’ve had for that feature. I’ll consider it when I take a look at 4.8 compatibility.
C-
Forum: Plugins
In reply to: [Featured Authors Widget] Custom Post typesThat sounds like a good idea. I’m too busy to implement that for you in a timely fashion but I’ve set the plugin up on GitHub and would gladly accept pull requests.
https://github.com/colinduwe/featured-authors-widget- This reply was modified 9 years, 7 months ago by ColinD.
Forum: Plugins
In reply to: [Featured Authors Widget] Limit authors by roleThat sounds like a good idea. I’m too busy at the moment to implement this for you but I’ve set this plugin up on GitHub and would gladly accept pull requests.
https://github.com/colinduwe/featured-authors-widgetForum: Plugins
In reply to: [Featured Authors Widget] Manual sortingHi, I’m glad your finding this useful. I’m super busy right now so probably can’t add the feature in a timely fashion for you. I made a repo on GitHub and would gladly accept pull requests
https://github.com/colinduwe/featured-authors-widgetForum: Plugins
In reply to: [Featured Authors Widget] where in the database is the featured author storedThe key is ‘widget_cd_fa’