Forum Replies Created

Viewing 6 replies - 16 through 21 (of 21 total)
  • Thread Starter vapor99

    (@vapor99)

    OK so the problem is back, and again I am not sure why!

    could try these as hostname…?

    “ftp.myminibox.net”

    “ftp.jakartaairporttransfer.com”

    just a thought

    Thread Starter vapor99

    (@vapor99)

    Thanks again scott,

    How would I go about “porting this custom post type to the 2012 theme?

    add the above PHP function to the 2012 functions.php?

    Thread Starter vapor99

    (@vapor99)

    Ok so i deactivated then reactivated my theme, all my plugins, and the permalink options once again…and it seems to be fine now. When I make modifications to my site, the custom post type entries dont break, and they stay in the “post-name” permalink structure,

    Thanks for your help scott

    Thread Starter vapor99

    (@vapor99)

    When I switch back to a 2012 theme this post type is gone because its part of the theme. And nothing else breaks, just these posts under the custom post type Portfolio. So here is the code snippet that creates the custom post type.

    // Add custom post type Portfolio
    add_action(‘init’, ‘themezee_add_portfolio’);
    function themezee_add_portfolio()
    {
    register_post_type(‘portfolio’, array(
    ‘label’ => __(‘Portfolio’, ‘themezee_lang’),
    ‘public’ => true,
    ‘show_ui’ => true,
    ‘menu_position’ => 6,
    ‘has_archive’ => false,
    ‘rewrite’ => array(‘slug’=>’portfolio-item’),
    ‘supports’ => array(‘thumbnail’, ‘title’, ‘editor’ )
    )
    );
    }

    ?>

    Thread Starter vapor99

    (@vapor99)

    Hey scott,

    Im not sure where to change the slug for this post type. It appeared after I had installed my theme. But I still dont feel that this is the problem since it wouldnt explain why is breaks even after I change something simple in the settings that should not have any affect on URLs for post types?
    Zack

Viewing 6 replies - 16 through 21 (of 21 total)