Michael Mann
asked 10 years ago

Hi there,

 

Two quick questions about the projects section for you.

 

1: How would I get DW-Page to show 12 Projects instead of 8 on the main page?

 

2. I don’t need the Client, Skill, Date, Or Launch Project info. How do I eliminate that?

 

Thank you so much.

2 Answers
Wilfred
answered 10 years ago

1. In order to display 12 project, please follow these steps:

– Log in to Dashboard > page > Our Portfolio

– Change the shortcode [onepage_projects] into [onepage_projects row = 3]

– Log in to Dashboard > Appearance > Editor > theme-footer.php

– Copy and paste the following code line before <?php wp_footer(); ?>

 <script type="text/javascript"> 
     (function($){
          $('#portfolio .thumbnails > .block:nth-child(4n+1)').css({'margin-left': 0}); 
     })(jQuery); 
</script>

 

2. In order to remove unnecessary sections:

– Log in to Dashboard > Appearance > Menu > Onepage

– Simply delete sections which you don’t want to have

Michael Mann
replied 10 years ago

2. I don’t need the Client, Skill, Date, Or Launch Project info. How do I eliminate that?

Michael Mann
replied 10 years ago

To clarify, i mean when you click on the project Client, Date, etc info. that is what I would like to eliminate.

Kido D
answered 10 years ago

Hi Michael,
 
First you can go to Dashboard > Appearance > Editor. There are two solutions to eliminate Client, Skill, Date, and Launch Project info on DW Page theme.
 
+ CSS solution:
 
Select Stylesheet (style.css), and add this code to the bottom of the style.css file:

.project-data, .modal-data {
display: none;
}

+ PHP solution:
 
– Select shortcodes.php file, and search for this code (around line 383):

$projects .= '<div class="project-details hide">
<div class="project-inner">
<p class="project-data">'.$details.'</p>
<p class="project-content">'.get_the_content().'</p>
</div></div>';

… change it into this (remove ‘project-data’ section):

$projects .= '<div class="project-details hide">
<div class="project-inner">
<p class="project-content">'.get_the_content().'</p>
</div></div>';

– Select framework.php file, and search for this code (around line 429):

$result->detail = implode('', $detail);

.. change it into this:

//$result->detail = implode('', $detail);

Hope this helps!

Powered by DW Question & Answer Pro