Forum Replies Created
-
I found what’s causing it!
It’s publish_field_order
This doesn’t work, I removed each parameter one by one to find what could be the cause until I go to publish_field_order.
<?php echo do_shortcode(‘
[userpro template=publish
publish_button_primary=Submit
post_meta=”the_source”
post_meta_labels=”Attribute a source?”
publish_field_order=”featured_image,title,the_source”
no_header=true
require_content=0
category=”humor” taxonomy=category
]’); ?>Wrote it like this:-
<?php echo do_shortcode(‘
[userpro template=publish
publish_button_primary=Submit
post_meta=”the_source”
post_meta_labels=”Attribute a source?”no_header=true
require_content=0
category=”humor” taxonomy=category
]’); ?>And it works!
I do however need to use the field order though, so that’s a problem.
in reply to: Choose post format with front end publisher?Ok, got it working (kind of)
This does NOT work and does NOT assign category of humor to new posts.
<?php echo do_shortcode(‘
[userpro template=publish
publish_button_primary=Submit
post_meta=”the_source”
post_meta_labels=”Attribute a source?”
publish_field_order=”featured_image,title,the_source”
no_header=true
require_content=0
category=”humor” taxonomy=category
]’); ?>This DOES work and DOES assign category of humor to new posts.
<?php echo do_shortcode(‘
[userpro template=publish category=”humor” taxonomy=category]’); ?>Continuing testing to see what could be wrong.
in reply to: Choose post format with front end publisher?Doing more testing, will report back momentarily. 🙂
in reply to: Choose post format with front end publisher?Yup, humor is a normal category.
Latest version of WP and UP. I’ll try on a page template now instead of a php shortcode.
…
Put exactly what you wrote on a page via a shortcode, assigned a category and it ONLY went into the category I picked, not the humor category
[userpro template=publish category=”humor”]
in reply to: Choose post format with front end publisher?Nope, does not place new posts into that category, it doesn’t assign any category at all.
<?php echo do_shortcode(‘
[userpro template=publish
publish_button_primary=Submit
post_meta=”the_source”
post_meta_labels=”Attribute a source?”
publish_field_order=”featured_image,title,the_source”
no_header=true
require_content=0
category=”humor”
taxonomy=category
]’); ?>in reply to: Choose post format with front end publisher?Is this a bug or am I doing something wrong?
in reply to: Choose post format with front end publisher?It is a valid category but it still doesn’t put posts in there by default.
<?php echo do_shortcode(‘
[userpro template=publish
publish_button_primary=Submit
post_meta=”the_source”
post_meta_labels=”Attribute a source?”
publish_field_order=”featured_image,title,the_source”
no_header=true
require_content=0
category=humor
taxonomy=categoryallowed_taxonomies=category ]’); ?>
Should any of those be in quotes or?
in reply to: Choose post format with front end publisher?Nope, this doesn’t work
<?php echo do_shortcode(‘
[userpro template=publish
publish_button_primary=Submit
post_meta=”the_source”
post_meta_labels=”Attribute a source?”
publish_field_order=”featured_image,title,the_source”
no_header=true
require_content=0
category=humor
taxonomy=categoryallowed_taxonomies=category ]’); ?>
in reply to: Choose post format with front end publisher?But taxonomy=post_format won’t work until the update? 🙁
in reply to: Choose post format with front end publisher?I don’t understand why taxonomy=image isn’t working, urgh! It doesn’t even work when I select a category and not a post format.
category=categoryname doesn’t work either.
in reply to: Choose post format with front end publisher?Great 🙂 Please don’t forget this one, I really need it! Timeframe on next update?
By the way, Userpro is the ONLY plugin that’s doing front end posting properly, you should put it in your primary features list on CC.
in reply to: Choose post format with front end publisher?Not sure how to, I need multiple forms posting to different post formats too.
in reply to: Choose post format with front end publisher?I tried this
<?php echo do_shortcode(‘
[userpro template=publish
publish_button_primary=Submit
post_meta=”the_source”
post_meta_labels=”Attribute a source?”
publish_field_order=”featured_image,title,the_source”
no_header=true
require_content=0
taxonomy=”image” ]’); ?>and this
<?php echo do_shortcode(‘
[userpro template=publish
publish_button_primary=Submit
post_meta=”the_source”
post_meta_labels=”Attribute a source?”
publish_field_order=”featured_image,title,the_source”
no_header=true
require_content=0
taxonomy=image ]’); ?>Doesn’t add posts to the image post format taxonomy.
in reply to: Choose post format with front end publisher?