Forum Replies Created
-
AuthorPosts
-
September 21, 2018 at 2:11 pm in reply to: Creating separate submission forms for different categories #1627984hannujaatinenParticipant
I’ve modified the Community events submission form already (quite a lot) but how do I do this part?
Create a parameter check at the beginning of the file what version is loaded. The forms / page could be loaded with different parameters, like:
http://domain.com/events/community/add?version=1
Depending on the version load different rules / fields / categories, whatever you need.hannujaatinenParticipantThat worked 🙂
March 23, 2018 at 3:07 am in reply to: Shortcode or way to add "tribe-events-meta-group-other" to a page #1486752hannujaatinenParticipantIs it doing the action too early or am I missing something?
March 23, 2018 at 3:06 am in reply to: Shortcode or way to add "tribe-events-meta-group-other" to a page #1486751hannujaatinenParticipantIf I want to create a shortcode what should I include in that?
I’ve tried using
// Add Shortcode
function tapahtuman_metatiedot() {tribe_get_template_part( ‘pro/modules/meta/additional-fields’, null, array(
‘fields’ => tribe_get_custom_fields(),
) );}
add_shortcode( ‘tapahtuman-metatiedot’, ‘tapahtuman_metatiedot’ );It actually worked when I saved the shortcode in Beaver Themer but then the meta details jumped to top left corner of the page 🙁
-
AuthorPosts