Single page site issue

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #11489
    boonodoh
    Member

    Hi,

    I created a page using the single page site, choosing two of the page sections I’ve created. However, it’s now showing up, and instead a generic page is shown – I don’t know how to edit that page because the page shown doesn’t have the “edit page” link on the top.

    When I put a parent to that page, but still use the single page site, then it shows up. Same thing happens when I simply change the permalink by adding “-1”. I don’t want the permalink to be “-1”.

    Please advise.

    #11493
    Veena
    Moderator

    You can go to “Pages” in the wp-admin menu and then edit the page.

    #11494
    boonodoh
    Member
    This reply has been marked as private.
    #11499
    Veena
    Moderator

    Pls make a minor change in the file custom-post-types.php(framework/presentations/custom-post-types.php) line no:102 as below –

    'has_archive' => false,
    

    Hope this will resolve your issue.

    #11514
    boonodoh
    Member
    This reply has been marked as private.
    #11535
    Raghavendra
    Moderator

    Can you pls share a temp login pls? I will try to take a look. Also pls visit once Settings->Permalinks page after the above change and see if that makes any difference.

    BTW, if you change the slug from “pricing” to something like “our-pricing” or “pricing-plans”, the page should display fine since it won’t conflict with auto-generated page from WordPress.

    #11565
    boonodoh
    Member
    This reply has been marked as private.
    #11588
    Raghavendra
    Moderator

    My suggestion earlier works now. There was an entry in the permalink redirect plugin settings which was causing issue. Deactivating the plugin, activating back and removing the redirect helped.

    #11612
    boonodoh
    Member
    This reply has been marked as private.
    #11633
    Raghavendra
    Moderator

    Looks like this an issue with one of the plugins loaded. WordPress has a strange issue where if we instruct it to display a custom post menu at a certain position in the Dashboard menu, another plugin can come and specify the same position and theme custom post type loses its menu completely. Can you pls deactivate all plugins once and see if that resolves the issue? I am unable to see the web page – looks like it is down presently.

    #11638
    boonodoh
    Member
    This reply has been marked as private.
    #11678
    Raghavendra
    Moderator

    It is back up. I made a mistake when editing the framework/presentation/custom-post-types.php file. The final modified code should be –

            register_post_type('pricing', array(
                'labels' => $labels,
                'public' => false,
                'publicly_queryable' => true,
                'show_ui' => true,
                'exclude_from_search' => true,
                'query_var' => true,
                'rewrite' => false,
                'capability_type' => 'post',
                'has_archive' => false,
                'hierarchical' => false,
                'menu_position' => 10,
                'menu_icon' => MO_THEME_URL . '/images/admin/price-tag.png',
                'supports' => array('title', 'editor', 'page-attributes')
            ));
    

    Hope all your trouble is over now. Sorry you had to go through this.

    #11695
    boonodoh
    Member

    thank you!

Viewing 13 posts - 1 through 13 (of 13 total)
  • The topic ‘Single page site issue’ is closed to new replies.