Support Forums for LiveMesh Themes & Plugins › Forums › Appdev Theme Support › Single page site issue
- This topic has 12 replies, 3 voices, and was last updated 9 years, 3 months ago by boonodoh.
-
AuthorPosts
-
January 6, 2015 at 2:39 am #11489boonodohMember
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.
January 6, 2015 at 12:31 pm #11493VeenaModeratorYou can go to “Pages” in the wp-admin menu and then edit the page.
January 6, 2015 at 12:46 pm #11494boonodohMemberThis reply has been marked as private.January 6, 2015 at 2:18 pm #11499VeenaModeratorPls 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.
January 6, 2015 at 10:49 pm #11514boonodohMemberThis reply has been marked as private.January 7, 2015 at 12:34 pm #11535RaghavendraModeratorCan 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.
January 8, 2015 at 9:42 pm #11565boonodohMemberThis reply has been marked as private.January 10, 2015 at 12:07 pm #11588RaghavendraModeratorMy 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.
January 13, 2015 at 2:03 am #11612boonodohMemberThis reply has been marked as private.January 13, 2015 at 12:54 pm #11633RaghavendraModeratorLooks 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.
January 13, 2015 at 2:59 pm #11638boonodohMemberThis reply has been marked as private.January 14, 2015 at 12:04 pm #11678RaghavendraModeratorIt 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.
January 14, 2015 at 9:30 pm #11695boonodohMemberthank you!
-
AuthorPosts
- The topic ‘Single page site issue’ is closed to new replies.