Support Forums for LiveMesh Themes & Plugins › Forums › Agile Theme Support › Controlling Pricing Permanlinks
- This topic has 8 replies, 3 voices, and was last updated 9 years, 9 months ago by andrewdowling.
-
AuthorPosts
-
June 11, 2014 at 2:56 am #7313andrewdowlingMember
Hi LiveMesh,
I’ve just implemented a page called “Pricing” on my web site using the Agile theme and the pricing shortcode.
I’d like it to use the permanlink http://www.stitch.net/pricing.
However when I set this to be the permalink, when I call up the page it doesn’t show the page I’ve edited, but a page which lists all the pricing plans as though they are blog articles.
I presume your custom post type is overriding the /pricing permalink somehow.
I’ve temporarily used an alternative permanlink (/pricing-plans) but would like to be able to fix this … can you help me?
thanks,
Andrew.June 11, 2014 at 5:18 am #7321ErnestoMemberHi! Could you send us a temp user to your webpge so we can inspect how the issue is being produced?
Cheers!
June 11, 2014 at 5:21 am #7322andrewdowlingMemberHi Ernesto,
Thanks for the response. You don’t actually need to be logged in to see the issue, you can see it if you go to:
The actual page is
June 12, 2014 at 5:28 am #7350ErnestoMemberHi! Thanks, I want to check how the page is producing the different pages. If you identify the page related to the URL link .com/pricing you can simply change that URL (or delete the page, as you wish) and afterwards set the other page to your desired URL link.
CHeers!
June 12, 2014 at 1:16 pm #7371andrewdowlingMemberHi Ernesto,
But that’s the problem: there is NO page that relates to the link stitch.net/pricing. It seems that WordPress is treating the permalink “pricing” as special based on the custom post type, and is showing each Pricing plan as though it’s a blog post.
It looks similar to when you access the blog through a category, e.g. stitch.net/category/dating. The URL in that case pulls together all posts related to the “dating” category. In this case it looks as though it’s pulling together all the custom posts related to the “pricing” topic.
Does that make sense? If not would I be able to show you what I mean via a screen share / Skype call? It looks to me that it’s the way the custom pricing post types work, but I can’t figure it out.
Thanks,
Andrew.June 14, 2014 at 7:16 pm #7423ErnestoMemberHi! Please send us a screen of what you wish to accomplish and we’ll provide you with the exact code you need. From what I’m getting, you should try to reorder the pages and post regarding the pricing. If I can a page named /pricing it means the page is being generated somehow.
Please, if you can’t send a screenshot, send us a temp user to your website so we can inspect how the code is being generated.
Cheers!
June 15, 2014 at 11:34 am #7431andrewdowlingMemberThis reply has been marked as private.June 16, 2014 at 10:57 am #7434RaghavendraModeratorTo resolve this issue, pls make a small code change in the file framework/presentation/custom-post-types.php at line number 100 in the function mo_register_pricing_post_type(). Pls change the value of rewrite argument to false like this (the current value is true) –
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' => true, 'hierarchical' => false, 'menu_position' => 10, 'menu_icon' => MO_THEME_URL . '/images/admin/price-tag.png', 'supports' => array('title', 'editor', 'page-attributes') ));
This was a mistake and will be fixed in the upcoming update so that you do not have to repeat this code change. Also, once you make this change, pls make sure you visit Settings->Permalink page in WP Admin. Thanks for bringing this to our attention.
June 17, 2014 at 7:12 am #7457andrewdowlingMemberThis reply has been marked as private. -
AuthorPosts
- The topic ‘Controlling Pricing Permanlinks’ is closed to new replies.