DaveE
Forum Replies Created
-
Hopefully this solution worked for you. I’m closing this thread as resolved. Feel free to post back if it is not. Cheers!
Forum: Plugins
In reply to: [Flexible Posts Widget] Shortcode Availability?Hi AplDmr, Unfortunately, I don’t have an ETA on that feature yet. I’m just swamped with work and haven’t had the time required to build it out.
Sorry!
Forum: Plugins
In reply to: [Flexible Posts Widget] Only show sticky posts.Hi Borneyak,
Sorry for the delayed response. FPW doesn’t have a built-in way of accomplishing that.
To show only sticky posts you’d need to add a custom query filter using the plugin’s available hooks to get the sticky posts from the DB. While this isn’t terribly difficult, it’s also not exactly easy to do.
Hopefully that will point you in the right direction. Thanks for using the plugin!
Forum: Plugins
In reply to: [Flexible Posts Widget] list-style-type: square; Not aligning with list itemHi blctech,
That looks like conflict between the styles used by your site and the plugin’s newer HTML5-based markup. No problem. If you change up which template you’re using it should fix the issue. If you choose the template called Default it should fix the issue.
Thanks for using the plugin!
Cheers!
Forum: Plugins
In reply to: [Flexible Posts Widget] Cannot set Taxonomy filtersHi all,
You are both correct, the plugin is not compatible with any of the major “page builder” plugins available. These plugins load WordPress code in nontraditional ways and don’t have the correct hooks in place for more advanced plugins like FPW to function properly.
Sorry for the trouble.
Also want to confirm that for some sites I still need to deactivate > update > reactivate. This issue doesn’t affect all sites using the Types plugin. (In fact it only affects 1 site out of about 6 that I have using Types.)
Forum: Plugins
In reply to: [Flexible Posts Widget] Working with Page Builder by SiteOriginThanks for the notes, everyone. I have indeed confirmed that FPW does *NOT* work with Page Builder. I’m not sure if it ever will.
Of course, ever is a long time, so hold tight and I’ll see what I can do. Just no promises of compatibility at this point.
Hi ppradeep,
You have to make a post type selection. If you uncheck all post types, the widget will default to “Posts.” So, if you have only a “Products” post type in your “Product Categories” taxonomy, choose “Products” on the Post Type tab for your FPW instance. If you have several Post Types in the “Product Categories” taxonomy, select all the Post Types that you would like to appear in the widget.
Sorry for the confusion with that. And, thanks for using the plugin!
Forum: Plugins
In reply to: [Flexible Posts Widget] Widget doesn't save custom templateClosing this as resolved. Please feel free to leave a comment if you’re still having trouble. Thanks!
Forum: Plugins
In reply to: [Flexible Posts Widget] hide widget on front pageHi Sb0k,
There are many ways that you might hide a widget on the Front page of your website, but FPW doesn’t have this as a feature, no. I’d suggest one of the many widget management plugins to handle this capability.
Thanks for using the plugin!
Forum: Plugins
In reply to: [Flexible Posts Widget] Prefix global variablesHi iki,
No reason, really. It’s just always been that way. I’ll make a note to prefix or encapsulate them in a future release. Thanks for pointing that out!
Forum: Plugins
In reply to: [Flexible Posts Widget] Widget doesn't save custom templateHowdy,
That’s odd. What’d the file name for your template?
Also, I’m not sure what you mean by “update the post”. Are you working in a page-builder plugin or using the Appearance > Widgets section in WordPress? FPW isn’t compatible with most (maybe all) page builders as they don’t include the necessary JavaScript that is available on the main Widgets page.
Hi Alex,
It sure is. You can use FPW’s query filter to adjust which statuses you’d like to get. Here’s an example filter that returns posts which are either published or future:
/** * Get posts that are set to "publish" or "future" for all Flexible Post Widget queries * @param $query * @return mixed */ function dpe_fpw_adjust_post_status( $query ) { $query['post_status'] = array( 'publish', 'inherit', 'future' ); return $query; } add_filter( 'dpe_fpw_args', 'dpe_fpw_adjust_post_status' );Cheers!
Forum: Plugins
In reply to: [Flexible Posts Widget] Removing orderbyHi Raymond,
Since I haven’t heard back from you, I’m going to close this thread. Please feel free to re-open it if you are still having trouble.
Thanks!
Forum: Plugins
In reply to: [Flexible Posts Widget] Ignore sticky not workingHowdy. Sorry for the delayed response. I’ve just been really busy.
It looks like I can correct this in an up coming release of the plugin. But in the mean time, feel free to use the following filter to make sure sticky posts don’t appear in the FPW loop at all:
/** * Removes sticky posts from all Flexible Post Widget queries * @param $query * @return mixed */ function dpe_fpw_remove_stickies( $query ) { $query['post__not_in'] = get_option( 'sticky_posts' ); return $query; } add_filter( 'dpe_fpw_args', 'dpe_fpw_remove_stickies' );