Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #279567
    Zeshan
    Member

    Hi Sohrab,

    We’re sorry for the confusion! You can try using a plugin such as Conditional Widgets to apply conditions to the widget. However, we cannot guarantee the compatibility as it’s a 3rd party plugin.

    Thanks!

    #300737
    dreamlocal
    Participant

    Hi, there– I’ve used the previous code to add a sidebar area to my portfolio items (I need to have a different sidebar for each portfolio item, as I’m using the sidebar space to display purchase information):

    <?php get_header(); ?>
      
      <div class="x-containermax width main">
        <div class="offset cf">
          <div class="x-main left" role="main">
    
            <?php while ( have_posts() ) : the_post(); ?>
              <?php x_get_view( 'ethos', 'content', 'portfolio' ); ?>
              <?php x_get_view( 'global', '_comments-template' ); ?>
            <?php endwhile; ?>
    
          </div>
    	  <?php get_sidebar(); ?>
        </div>
      </div>
    
    <?php get_footer(); ?>

    The sidebar space appears fine. So then I go into Appearance > Sidebar and create a new sidebar and assign it to the portfolio category I have previously set. Bam, it appears in Widgets as expected. But when I put a few items into the widget area, it doesn’t show up on my page. Any thoughts?

    Thanks!

    –Jason

    #301138
    Rad
    Moderator

    Hi Jason,

    I’d like to check it too, would you mind providing us with login credentials on a separate thread so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Thanks!

    #301328
    dreamlocal
    Participant

    Will do, thanks!

    #301733
    Rad
    Moderator

    Sure, let us know 😉

    #315080
    Martin L
    Participant

    Hi, I have set up Child Theme and edited both PHP files as stated above. I can’t see how to assign a Sidebar to the Single Portfolio Item pages. I have created a Sidebar called Portfolios and clicked the box ‘All Taxonomies’ in the Sidebar settings as well as selective ‘Escort Gallery’ page but the Sidebar does not show on Escort Gallery page or Single Portfolio Item.

    How can I now have Sidebar show on Single Portfolio Item please?

    #315102
    Christopher
    Moderator

    Hi there,

    Please open a new topic and provide us with URL, login and FTP credentials in there.

    Please mention the URL of thread which you used for modification.

    Thanks.

    #323160
    Johannes
    Participant

    Hi,

    Will the code above, to add a sidebar to single portfolio items, still work with the current version of X and Cornerstone?

    Link to the code: https://community.theme.co//forums/topic/adding-sidebar-to-single-portfolio-pagepost/#post-124347)

    Thanks

    #323250
    Rupok
    Member

    Hi There,

    You can try the solution. As we are not sure about the issue, we can’t assure.

    Please open a new topic with proper clarification of your issue to get better solution.

    Thanks

    #682125
    lparker2
    Participant

    Hi,

    I am unable to assign the sidebar to the portfolio items.

    I did what is suggested above with the child theme but I cannot seem to find how to actually add the sidebar.

    Could you help please?

    #682134
    lparker2
    Participant
    This reply has been marked as private.
    #682137
    lparker2
    Participant

    Hi,

    I am unable to assign the sidebar to the portfolio items.

    I did what is suggested above with the child theme but I cannot seem to find how to actually add the sidebar.

    I have also assigned the sidebar to the category ‘featured’ which all of my portfolio items are categorised as at present.

    Could you help please?

    #682138
    lparker2
    Participant
    This reply has been marked as private.
    #682146
    Christopher
    Moderator

    Hi there,

    Please activate child theme, clear cache and check again. if you still have problem, please open a new topic and provide us with FTP credentials.

    Thanks.

    #753458
    fatcatgraphics
    Participant

    Hi,
    Im very new to this. I am stuck at the first step. I logged into filezilla and I’m in the x-child/framework/views/rewnew folder but I don’t know how to copy the two files in there.

    then copy both of these file to your child theme.

    x/framework/views/[your-stack]/wp-sidebar.php
    x/framework/views/[your-stack]/wp-single-x-portfolio.php

    Thanks
    Rena

  • <script> jQuery(function($){ $("#no-reply-124165 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>