Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter MisterDrB

    (@misterdrb)

    Yeah, I’ve been able to use it with the {:en} and etc. Any plans of it being supported soon? I assume it’d only be a minor difference. Thanks.

    The main reason, I switched to Pro version was just to have “Galleries” be enabled in the options.

    Thread Starter MisterDrB

    (@misterdrb)

    That helped a little bit! Making progress for sure thank you!

    I set this up in the functions.php

    add_action( 'init', 'create_post_type' );
    function create_post_type() {
    	register_post_type( 'am_event',
    		array(
    			'labels' => array(
    				'name' => __( 'Events' ),
    				'singular_name' => __( 'am_event' )
    			),
    		'public' => true,
    		'has_archive' => true,
    		)
    	);
    }

    and I have single-am_event.php, which now displays the event details when the url is site.com/am_event/{event_name} , but I can’t find a way to change it to site.com/events/{event_name}, even though the slug I have in the settings is set to “events”. Care to explain what I’m overlooking here?

Viewing 2 replies - 1 through 2 (of 2 total)