Tagged: 

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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

    #1349605

    Hey Elena,

    Please post us your login credentials (in the “private data” field), so we can take a look at your backend.

    1. Install and activate ” Temporary Login Without Password “.
    2. Go to ” Users > Temporary Logins ” on the left-side menu.
    3. Click ” Create New “.
    4. 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 ).
    5. Click ” Submit “.
    6. 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,
    Nikko

    #1349630

    Hi 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

    #1349725

    Hi 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,
    Nikko

    #1349826

    Oh 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!

    #1349841

    Hi,

    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,
    Rikard

    #1350191

    Thanks Rikard, you can close the topic

    #1350212

    Hi elenapoliti,

    Thanks for using Enfold and have a great day!

    Best regards,
    Nikko

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Sidebar on page template Download Manager Pro’ is closed to new replies.