diniscorreia
Forum Replies Created
-
Same here :\ Probably not compatible with 4.4
My bad! Wasn’t including wp_head on my template ??
I tried changing the priority but it still doesn’t seem to work – only posts are listed on the search.
I also tried using the
zoninator_post_init
hook but no luck :\Hi Mohammad,
I’m trying to achieve the same – I tried both the function you pasted and adding
zoninator_zones
in thesupports
arg but nothing works.If you use the function above, the action appears to run before the custom post types are created; if I hook the function to
init
I can see my custom post type (when I debug the$available_post_types
), but the custom post types still don’t appear on the search.Hi Mohammad,
I’m trying to achieve the same – I tried both the function you pasted and adding
zoninator_zones
in thesupports
arg but nothing works.If you use the function above, the action appears to run before the custom post types are created; if I hook the function to
init
I can see my custom post type (when I debug the$available_post_types
), but the custom post types still don’t appear on the search.Forum: Plugins
In reply to: [Posts 2 Posts] [Plugin: Posts 2 Posts] Looping the loop without WP_Query?Ah, brilliant.
Also, silly me making a new
WP_Query
for$connected
– it works if I do it with get_posts.Thanks again for all the help, donation on its way.
Forum: Plugins
In reply to: [Posts 2 Posts] [Plugin: Posts 2 Posts] Looping the loop without WP_Query?Hmm I’m using the global
$wp_query
like this:$connected = new WP_Query ( array( 'connected_items' => $wp_query->posts, 'connected_type' => array( 'posts_to_posts', 'posts_to_fotogalerias', 'posts_to_videos'), 'connected_direction' => 'any', 'post_type' => 'any', 'nopaging' => true, 'suppress_filters' => false ) ); p2p_distribute_connected( $wp_query->posts, $connected, 'connected' );
…but it only lists one connection for one connection type (even with
nopaging
set) and I get some warnings (Notice: Trying to get property of non-object in [...]/wp-content/plugins/posts-to-posts/core/api.php on line 339
).Thanks!
Forum: Plugins
In reply to: [Posts 2 Posts] [Plugin: Posts 2 Posts] Looping the loop without WP_Query?Ah, that was it!
By the way, how can that new function still be used in a normal WP Query? (I have some pages on the project that don’t rely on Zoninator).
Thanks! And just kicking, the button is very easily found ??
Forum: Plugins
In reply to: [Posts 2 Posts] [Plugin: Posts 2 Posts] Looping the loop without WP_Query?Yay, thanks again! Works as expected. *looks for donate button on your site* ??
Another quick question: if I set
'connected_type' => array( 'posts_to_posts', 'posts_to_galleries', 'posts_to_videos')
it only lists posts_to_galleries and _to_videos – however, if I only set'connected_type' => array( 'posts_to_posts')
it does lists the connections from that type. Could this be a bug or expected behavior, since it’s an indeterminate connection type?Thank you so much again.
EDIT: Actually, it seems the problem occurs everytime I set more than two connection types on that array.
Forum: Plugins
In reply to: [Posts 2 Posts] [Plugin: Posts 2 Posts] Looping the loop without WP_Query?Thanks you so much! That was exactly what I was trying to achieve.
By the way, can I use $connected on p2p_list_posts?
Thanks, again.
EDIT: Hmm just tried it – obviously, if I use
p2p_list_posts($connected)
on the loop I get the same list of post for every post on the loop :\Forum: Fixing WordPress
In reply to: Cannot edit image link after inserted into postAppears to have been fixed on the upcoming 3.4 version.
Forum: Plugins
In reply to: [Blogger Importer] [Plugin: Blogger Importer] Extra > sOh my, I can’t believe you came up with a solution! Thanks a lot!
I struggled with the issue in the past, and my workaround was to just run a query on the database (now that’s hack).
This fix should be made into the plugin – I’ll ask around and see if there’s some place to get it submitted.
Again, thanks.
Anyone tried Network Activating and using the define(‘WPCOM_API_KEY’,’…’) in the config file?
I used this with Akismet and it working for all the blogs on the network. Haven’t installed Jetpack yet to test this.
Forum: Plugins
In reply to: Dropdown Category Selection for Publishing Posts in P2 theme v.1.1.3Hi all,
I was looking for a similar solution, but instead of having the category on the post-form, I would need a dropdown category selection in every published post (I’m using P2 as a collaborative tool and categories will be used like ‘status’ types – “follow up”, “completed”, etc).
Is this possible to achieve?
Thanks in advance!
Forum: Plugins
In reply to: Advanced Excerpt Template Tag not doing its jobAnd it gets weirder ?? Apparently, the post lenght is only counting characters/word on the first paragraph.