Forum Replies Created

Viewing 15 replies - 181 through 195 (of 375 total)
  • Plugin Author DaveE

    (@dpe415)

    Hi Guix69,

    Sorry to hear that. The only way that would be possible is if you placed your custom template(s) inside the FPW plugin folder.

    That’s why the instructions ask you to create a folder called flexible-posts-widget within your theme’s folder and place your custom templates inside the current theme.

    Plugin Author DaveE

    (@dpe415)

    Hi koroikoroi,

    There isn’t any way to directly “exclude” posts with the widget, no. You could achieve this in a round-about way by limiting the number of posts returned to a number that fits within your time period, or by tagging posts that you want to appear in the widget with a particular tag and then untagging the older posts.

    Thanks for asking!

    Plugin Author DaveE

    (@dpe415)

    Are you using a custom HTML template for the output of that widget? Or, I should say, you must be because the HTML that is being generated doesn’t match the standard output that is generated by the plugin by default. I’d take a look at what template you’re using in that instance and you should see the comments code in there.

    Cheers!

    Plugin Author DaveE

    (@dpe415)

    Hmmm.. Can you provide a link to a page where you’re seeing this issue?

    Plugin Author DaveE

    (@dpe415)

    Hi digibobdeluxe,

    Thanks for the feedback. However, your question really has nothing to do with the FPW plugin. The taxonomy listing layout is part of your theme’s design. FPW only shows a collection of posts in your theme’s sidebar/widget area.

    I’d suggest either finding a WordPress developer who can help or taking a look as some of the WordPress theming documentation.

    Cheers!

    Plugin Author DaveE

    (@dpe415)

    Glad to see this got resolved. Thanks again for the help, czargyle. Much appreciated!

    Plugin Author DaveE

    (@dpe415)

    Thanks for responding, czargyle!

    Nacncy, you would need to add some styles to your theme’s stylesheet to accomplish this. The example czargyle offered would work perfectly.

    Cheers!

    Plugin Author DaveE

    (@dpe415)

    Hi czargyle,

    I’m not sure if that’s possible right now. I’ll look into it an see how I can it up so the filter can be applied per-widget-instance.

    I, too, have wanted a way to get posts filtered by postmeta. I’m currently exploring how I can add these fields/features to a new version of the plugin. I may end up creating a collection of different widgets to choose from depending on how one wants to get posts.

    I’ll keep you posted on the development. Cheers!

    Plugin Author DaveE

    (@dpe415)

    I’m going to close this thread as I haven’t heard a response in over 2 weeks. Please feel free to reopen it if I can be of any help.

    Cheers!

    Plugin Author DaveE

    (@dpe415)

    Hi Cinus,

    Just a heads up that version 3.9 includes an option to sort by Post ID Order natively. You can set your widget instances to use this option and safely remove the custom filter.

    Cheers!

    Plugin Author DaveE

    (@dpe415)

    Hi zsoltmolnar,

    You are correct, the widget doesn’t work with Page Builder. This is due to the limited way widgets are currently implemented in WordPress core being different than how Page Builder implements them.

    I’ve got a new release in the wings that *may* resolve this, but for now, FPW only works in the Admin > Appearance > Widgets screen.

    Thanks!

    I’ve noticed this issue as well.

    I manage Flexible Posts Widget. While testing for 3.9 compatibility today (against Beta 3) I have found that none of the admin-enqueued styles or scripts are getting loaded and the localization variable doesn’t get added either.

    If you want to test against my plugin, please use the TRUNK version. The current release version (3.2.2) has some if checks inside the script enqueue that are too limiting. (I had been enqueueing the scripts & styles on the widgets.php page only.)

    Plugin Author DaveE

    (@dpe415)

    Hi Clearday,

    Glad you were able get it figured out! Remember to put any template customizations in your own custom HTML template which will keep the changed from being written over if the plugin gets updated.

    Thanks again!

    Plugin Author DaveE

    (@dpe415)

    The plugin won’t “fall into a loop,” no. Again, this completely depends on the settings you’re using in the widget(s) and elsewhere on the site. if you’re not limiting the number of posts returned, or returning a very large number of posts, or using many FPWs you will indeed run into issues. Again, this would be true of any code/plugin/function that scans a large DB for posts. It’s not a FPW issue exactly, rather your specific use is running into a common issue with large post tables.

    On the flip side, I’m using several instances of FPW on a site with about 1.5 million post records and about 3 million post meta records without issue. It really comes down to configuration. FPW is intentionally designed to allow advanced users vast control over what is queried & returned. This will always leave room for queries that are unsafe/not ideal for large datasets.

    Plugin Author DaveE

    (@dpe415)

    Ah, you are right. Ordering is still applied when you get posts by ID, but there is no option to show them in the order you specific on the ID tab. So the current, correct answer to your original question is actually, no, you can’t set a “custom” order within the widget.

    Sorry, I I’ve never even considered this scenario until you brought it up today. Right now you could filter the FPW query args (using the dpe_fpw_args filter) and set the orderby to post__in per the Codex.

    The difficultly with this is you’d only want to filter the one instance of the widget that is using the get posts by ID tab. It would look something like this (not tested):

    function dpe_filter_fpw_pid_ordering( $args ) {
    	if( isset( $args['post__in'] ) ) {
    		$args['orderby'] = 'post__in';
    	}
    	return $args;
    }
    add_filter( 'dpe_fpw_args', 'dpe_filter_fpw_pid_ordering' );

    I’ll add this functionality to the next release of the plugin. Thanks for point it out!

Viewing 15 replies - 181 through 195 (of 375 total)