Linking New Post type to a template
- February 11, 2014 at 8:34 pm #2545
I have been using Madhura theme Pro for the past few months.In my site with Madhura Pro Theme, i have created a Post Type Named “Product” using “Types” wordpress plugin. I have also created a template file with Custom fields for this Post Type using this plugin. The file named is “product-template.php”. Now, i wanted to use this template for my post type “Product”. I tried analyzing the php scripts of Madhura Pro theme but could not find the necessary solution.
Please, suggest me the necessary changes to be done in Madhura theme codings so that I could able to use this post type for the custom template.February 12, 2014 at 12:43 pm #2551
Did custom post type open without any issues?February 12, 2014 at 12:48 pm #2552
Yeah, its opening without any issues..I could able to post title and description..February 12, 2014 at 12:52 pm #2553
Okay, That’s Good. Could you please share your blog details with temp username and password (admin rights). That’ll be easy to check your blog. Usually we don’t provide support for 3rd party plugins. Anyhow, Let’s fix the issues.
Note: Use Set as Private reply optionFebruary 12, 2014 at 2:20 pm #2554This reply has been marked as private.February 12, 2014 at 3:18 pm #2555
I can’t understand why do you want the template for product type. You can access the Product Type posts using this link http://reviewpix.com/product/February 12, 2014 at 3:40 pm #2556
We’ve checked our code and found that no issues in the theme. You have to implement the customization rightly to get the custom post type posts in template. Regarding the gallery page template, you haven’t changed the name of the template, just you have copied it. Please read about the page templates here http://codex.wordpress.org/Page_Templates.
Thanks.February 12, 2014 at 3:43 pm #2557This reply has been marked as private.February 12, 2014 at 4:56 pm #2558
Okay, I got it. You have used that code in gallery template. It only pulls out the image link. You have to wrap it around with img tag. Now, the image is showing in the singe post.
If you decide to customize the theme, you have to decide where should be customization. Because we only provide little customization to our themes upon request. Understanding the every 3rd party plugin requires more time.So that we can concentrate on our main objective here.
Hope you got it.
Thanks. Let me know if you have any other queries.February 12, 2014 at 10:26 pm #2566
Thank you so much for your help and immediate responses. I will work around the code of your theme and customize it based on my needs. One more help, in my site, follow buttons in the top right are shown in the single column. It was supposed to show only in two columns right.. Can you login to my site and check it?
Only Verified Customer of this Theme Can post reply to this Support Topic! .