Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1182893
    Sulli1432
    Participant

    Hi there

    Really hoping this will be easy? I have my portfolio set up but am adding in my slider revolution sliders at the moment.

    The problem I have is that when I add my gallery the page title and tags remain at the top looking untidy. I wish to move them to the bottom and have a nice clean header. Have tried using the slider revolution WP script injector backend and using cornerstone to build a page and injecting the code there using the module.. same result? Can’t seem to find a remove page title backend either?? This is the result I have..

    https://candieyestudio.co.uk/portfolio-item/wedding/

    The content is more important than the tags and wish to have that and a page title ontop created in cornerstone with tags and project link nested at the bottom somewhere.

    Can anybody help please?

    Regards

    James

    #1182908
    Christopher
    Moderator

    Hi there,

    Please add following code in Customize -> Custom -> CSS :

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

    Hope that helps.

    #1182965
    Sulli1432
    Participant

    Hi Christopher

    Many thanks for the quick response, Worked so far as to move the tags. Can I remove the page title altogether and put the dates, author etc at the bottom with the tags too?

    regards

    James

    #1182977
    Paul R
    Moderator

    Hi Jamnes,

    To achieve that, create file content-portfolio.php in wp-content/themes/x-child/framework/views/integrity
    then copy the code below into that file.

    
    <?php
    
    // =============================================================================
    // VIEWS/INTEGRITY/CONTENT-PORTFOLIO.PHP
    // -----------------------------------------------------------------------------
    // Portfolio post output for Integrity.
    // =============================================================================
    
    $archive_share = x_get_option( 'x_integrity_portfolio_archive_post_sharing_enable' );
    
    ?>
    
    <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
      <div class="entry-featured">
        <?php x_portfolio_item_featured_content(); ?>
      </div>
      <div class="entry-wrap cf">
    
        <?php if ( x_is_portfolio_item() ) : ?>
    
          <div class="entry-info">
            <?php x_get_view( 'global', '_content', 'the-content' ); ?>
          </div>
          <div class="entry-extra">
            <?php x_portfolio_item_tags(); ?>
            <?php x_portfolio_item_project_link(); ?>
            <?php x_portfolio_item_social(); ?>
          </div>
    <?php x_integrity_entry_meta(); ?>
        <?php else : ?>
    
          <header class="entry-header">
            <h2 class="entry-title entry-title-portfolio">
              <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to: "%s"', '__x__' ), the_title_attribute( 'echo=0' ) ) ); ?>"><?php x_the_alternate_title(); ?></a>
            </h2>
            <?php if ( $archive_share == '1' ) : ?>
              <?php x_portfolio_item_social(); ?>
            <?php endif; ?>
          </header>
    
        <?php endif; ?>
    
      </div>
    </article>
    

    Hope that helps.

    #1183172
    Sulli1432
    Participant
    This reply has been marked as private.
    #1183203
    Joao
    Moderator

    Hi James,

    I know the code provided by Paul can look scary, but the process is simple.

    Create create file content-portfolio.php on a text editor like note pad, paste the code above and save.

    Go to your site root folders via FTP or Go daddy internface and acess wp-content/themes/x-child/framework/views/integrity

    And Upload the file.

    Let us know if we can help with anything else.

    Joao

    #1191881
    Sulli1432
    Participant

    Hi there

    Sorry it’s been a while, busy boy!

    SFTP’d into the root and went down the file tree to wp-content/themes/

    there is no x-child/framework/views/integrity?

    Found /framework/views/integrity and content-portfolio.php but no x-child anywhere?

    Any Ideas

    regards

    James

    #1191893
    Christopher
    Moderator

    Hi there,

    It’s because you don’t have child theme yet.
    Because this requires a template change, I’d advise that you setup a child theme. This allows you to make code changes that won’t be overwritten when an X update is released. After your child theme is setup, please review how we recommend making template changes in Customization Best Practices.

    Thanks.

    #1191919
    Sulli1432
    Participant

    Ok tried that

    Returns ‘No valid plugin found’ on install

    J

    #1191924
    Christopher
    Moderator

    Hi there,

    You haven’t installed child theme yet. After installing and activating child theme, please follow this thread https://community.theme.co/forums/topic/portfolio-tags-title-project-link/#post-1182977

    Regretfully, at this time I am not entirely certain what it is you would like to accomplish based on the information given in your post. If you wouldn’t mind providing us with a little more clarification on what it is you’re wanting to do (a link to a similar example site would be very helpful, or perhaps some screenshots), we’ll be happy to provide you with a response once we have a better understanding of the situation.

    Thanks.

    #1192001
    Sulli1432
    Participant

    Hi there

    Went to the member’s area and downloaded the .zip file

    Uploaded to WP and tried to install, but got this instead..

    Installing Plugin from uploaded file: x-child.zip

    Activate the WooThemes Updater plugin to get updates for your WooThemes plugins.

    Unpacking the package…

    Installing the plugin…

    The package could not be installed. No valid plugins were found.

    Plugin install failed.

    Return to Plugin Installer

    #1192009
    Sulli1432
    Participant

    Sorry me being a plank first thing in the morning!

    Installed the theme and activated, went through the file tree and added the folder with the code inside

    went back to the site and got..

    Warning: require(/home/content/p3pnexwpnas09_data02/34/2594134/html/wp-content/themes/x-child/framework/views/integrity/content-portfolio.php): failed to open stream: Success in /home/content/p3pnexwpnas09_data02/34/2594134/html/wp-includes/template.php on line 574

    Fatal error: require(): Failed opening required ‘/home/content/p3pnexwpnas09_data02/34/2594134/html/wp-content/themes/x-child/framework/views/integrity/content-portfolio.php’ (include_path=’.:/usr/local/php5_4/lib/php’) in /home/content/p3pnexwpnas09_data02/34/2594134/html/wp-includes/template.php on line 574

    #1192016
    Paul R
    Moderator

    Hi,

    Would you mind providing us with login credentials 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.

    #1192027
    Sulli1432
    Participant
    This reply has been marked as private.
    #1192041
    Christopher
    Moderator
    This reply has been marked as private.
  • <script> jQuery(function($){ $("#no-reply-1182893 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>