Section template in a specified post type
I need to put a section template inside a specified type of posts.
I tried to paste the import code in a custom field with WYSIWYG field, but it printed out the code and not the content.
Is there any way I can do this?
Please, check the following video tutorial:
Sorry I didn't explain it well, I need is to display a section wrap only on article that has category "x" without need to put it manually in every single article that my clients creates.
So I need to insert it in the php file of the single page, but I don't know how to do it.
I tried to paste the exported code but it prints out the code:
Is there a way I can call the section wrap in the php file like by id or can I put the exported code in a function that print it out correctly?
Sorry, but what you ask for requires file customization, which in reference to Item Support Policy, is not allowed. http://themeforest.net/page/item_support_policy
So if you want to modify files and don't know how, you should contact your web developer. Item Policy says:
Item support does not include services to modify or extend the item beyond the original features, style, and functionality described on the item page. For customization services that will help you tailor the item to your specific requirements, we recommend contacting the author to see if they privately offer paid customization services or checking out the great service providers on Envato Studio.
But why when I set the condition to display a section in a post type it doesn't work until I manually add it?
With he footer section it works perfectly, but it replace also my actual footer...
That is right, you need to manually add global sections.
You can recreate your current Footer with Footer Builder, and use the conditions for it as you mentioned.
Ok I tried using the footer with the condition,
I set the single category where to show it but it applies to all singular post...
Did you test it while all of the plugins are disabled?
If it still not work, we'll take deeper investigation.
Ok I tried to deactivate all of the plugin, and the issues is still there...
Please send us the WordPress dashboard and FTP access privately thru the contact form, which is on the right side at http://themeforest.net/user/muffingroup#contact, and we will check what might be the reason.
Please attach a link to this forum discussion.
Sending incorrect or incomplete data will result in a longer response time.
Therefore, please ensure that the data you are sending is complete and correct.
I have changed the display condition to show only on the category page.
Please, check it out.
Mmm nope, now is not displayed anywhere.
It should be visible at the bottom of all the single articles with "corsi ECM" category, like this one:
But is not appearing...
We need your FTP access to check this out.
Please send it as you did with the WP dashboard, and remember to attach a link to this forum discussion.
I don't have that access, but there is the File Manager plugin so you can do everything from there!
Don't hesitate to contact your server administrator and ask for FTP access.
I tried to upload a package with a fix for that problem, and for an unknown reason, a critical error appeared (the plugin you mentioned was not useful, unfortunately).
We need your FTP access.
Ok I'm asking for it!
I've cloned the website in a test environment and sent wordpress and ftp access!
I tried to connect to your FTP, and the following error appeared:
If I translated it correctly, you need to add my country to the whitelist, so I will be able to connect it. I am located in Poland.
Yes, you can try now!
We have corrected it.
Please check it out.
Yess! 🎉 Thankyou so much!
Do I just need to copy the theme folder to the main website?
Yes, please do that.
After the problem will be gone. 🙂
Thankyou so much! 🤗