How to change the design of the portfolio?

Hello support, I would like to know how I can include content on the left side of my protafolio page under the sharing in networks

http://chocolattoreposteria.com/portfolio-item/torta-de-fresas/

Hi Alvaro,

Thank you for writing in! While that is outside the scope of support, I could point you in the right direction with the understanding that it would ultimately be your responsibility to take it from here.

First, please setup a child theme

Then login to your server (via FTP or cPanel’s file manager) and navigate to this directory
/wp-content/themes/x/framework/views/{your stack}/

Copy the file content-portfolio.php and paste that into your child theme in the same directory path
/wp-content/themes/x-child/framework/views/{your stack}/ (create the path if it does not exist)

Open/edit the pasted content-portfolio.php file, and look for this block:

  <div class="entry-extra">
        <?php x_portfolio_item_tags(); ?>
        <?php x_portfolio_item_project_link(); ?>
        <?php x_portfolio_item_social(); ?>
      </div>

That is the extra info block (right sidebar) of the portfolio item page. You can replace or add a content on it.

You can add your own shortcode in there by using the do_shortcode() function.

Hope it helps,
Cheers!

Is it possible to put widgest in that space?
a gallery for example or remove it

Hello There,

If you want to insert a gallery widget in it, you can simply use the WordPress Gallery shortcode function instead.
For example:

     <div class="entry-extra">
        <?php x_portfolio_item_tags(); ?>
        <?php x_portfolio_item_project_link(); ?>
        <?php x_portfolio_item_social(); ?>

        <?php echo do_shortcode('[gallery option1="value1"]'); ?>

      </div>

For more details about the WordPress Gallery Shortcode, you can check it here: https://codex.wordpress.org/Gallery_Shortcode

Hope this helps.

can you help me remove the right side section, the sharing in networks

http://chocolattoreposteria.com/portfolio-item/torta-de-fresas/

Hello There,

To have a fullwidth layout with no sidebar, please add the following CSS code in the X > Theme Options > Global CSS (http://prntscr.com/evui3r)

.x-portfolio .entry-info,
.x-portfolio .entry-extra {
    float: none;
    width: 100%;
}

Hope this helps. Please let us know how it goes.

Right, thank you very much

You’re welcome!
We’re glad we were able to help you out.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.