Support » Plugin: Sydney Toolbox » Custom Post Type URL Conflict

  • Hello!

    It seems like the custom post types would benefit from adding 'with_front' => FALSE to the ‘rewrite’ arguments so that setting a custom URL structure in core WordPress doesn’t append to these already correct URLs.

    Example: I wanted my blog posts to have the structure /blog/postname, but by adding this in WordPress the Sydney Project custom posts became /blog/projects/postname. With the above change to the rewrite it retains /projects/postname and still applies my custom settings to the regular blog posts.

    Could this be updated upstream?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author vladff

    (@vladff)

    Hi,

    Sounds like a good idea, we’ll consider it for the next update.

    Thanks for the feedback.

    Vlad

    paddu.iweb

    (@padduiweb)

    Hello sir…
    i want to remove custom post type ‘testimonials’ from sydney toolbox and i want to add ‘testimonials’ page.

    so added fallowing code.

    add_action(‘init’, ‘sydney_child_remove_post_type’, 1);
    function sydney_child_remove_post_type( $post_type ) {

    global $wp_post_types;

    if ( isset( $wp_post_types[‘testimonials’] ) ) {
    unset( $wp_post_types[‘testimonials’] );

    return true;
    }
    return false;

    }

    ‘Testimonials’ removed from sydney tool box.
    but my ‘Testimonials’ page redirecting to home page.

    Why its happening sir..?

    Roman Bondar

    (@romanbon)

    Hello,

    Please create a new topic for your issue to keep forum in good order and make it easier to help you.

    Kind Regards, Roman.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom Post Type URL Conflict’ is closed to new replies.