Tagged: enfold
-
AuthorPosts
-
April 26, 2022 at 6:15 pm #1349581
Hi I am using Download Manager Pro in my Enfold theme. When I see a page template (ie. the single page where the package is shown) it appears the default blog page sidebar. I wonder if there is a way to choose a different sidebar (for example with WPDM package categories). at the moment I see the sidebar with blog categories.
Example of actual single package page is in private section (see that the widget appearing in the sidebar is the “News” categories that normally appear in the Blog page)thanks
April 27, 2022 at 6:04 am #1349605Hey Elena,
Please post us your login credentials (in the “private data” field), so we can take a look at your backend.
- Install and activate ” Temporary Login Without Password “.
- Go to ” Users > Temporary Logins ” on the left-side menu.
- Click ” Create New “.
- Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
( to be sure that we have enough time to debug ). - Click ” Submit “.
- You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.
When your issue is fixed, you can always remove the plugin!
If you prefer to not use the plugin, you can manually create an admin user and post the login credentials in the “private data” field.Best regards,
NikkoApril 27, 2022 at 8:27 am #1349630Hi Nikko, I add the link in the private section. The package pages are treated as a blog actually. I would like to find a way(in case by adding a hook to the functions.php) to add a custom sidebar for these kind of posts, which includes whatever I want (e.g. categories of the WPDM packages or else, instead of the blog posts categories)
thanks
April 28, 2022 at 5:31 am #1349725Hi elenapoliti,
Thanks for giving us admin access.
You can change the sidebar by editing the page and go to Layout (located in the sidebar at the bottom), then go to Sidebar Setting and change it from Default Sidebars to any of your created sidebars.
Hope this helps.Best regards,
NikkoApril 28, 2022 at 3:30 pm #1349826Oh gosh you are right!! I am so stupid. I gave you the access to the wrong website (I was having a trouble on a new website). But your answer made me find the solution (which was already implemented in the website you logged in), which is the following function
add_filter('avf_builder_boxes', 'add_builder_to_posttype'); function add_builder_to_posttype($metabox) { foreach($metabox as &$meta) { if($meta['id'] == 'avia_builder' || $meta['id'] == 'layout') { $meta['page'][] = 'wpdmpro'; /*instead add the name of the custom post type here*/ } } return $metabox; }
Thank you very much and sorry for bothering!
April 28, 2022 at 4:27 pm #1349841Hi,
Great, I’m glad that you found the solution. Please let us know if you should need any further help on the topic or if we can close it.
Best regards,
RikardMay 2, 2022 at 3:01 pm #1350191Thanks Rikard, you can close the topic
May 2, 2022 at 5:26 pm #1350212Hi elenapoliti,
Thanks for using Enfold and have a great day!
Best regards,
Nikko -
AuthorPosts
- The topic ‘Sidebar on page template Download Manager Pro’ is closed to new replies.