Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #256272

    Dear admin,

    I’d like to make changes to Latest Portfolio at the footer. Refer to screenshot below.
    Image

    As you can see from the first row, that’s the result I want to achieve. I’ve used Firebug to get that result.
    1) Hide date and time
    2) Move excerpt to date and time’s location

    Let me know if you need the link to my site. I’ve password protected it and not sure how to give you the access without public access. Thanks a lot for the help in advance.

    #256776

    Hey etheravion!

    Open up enfold\framework\php\class-framework-widgets.php and replace:

    
    			if('display title and excerpt' == $excerpt)
    			{
    				echo "<div class='news-excerpt'>";
    
    				if(!empty($avia_config['widget_image_size']))
    				{
    					echo "<a class='news-link-inner' title='".get_the_title()."' href='".get_permalink()."'>";
    					echo "<strong class='news-headline'>".get_the_title()."</strong>";
    					echo "</a>";
    					if($time_format)
    					{
    						echo "<span class='news-time'>".get_the_time($time_format)."</span>";	
    					}
    
    				}
    				the_excerpt();
    				echo "</div>";
    			}
    

    with

    
    			if('display title and excerpt' == $excerpt)
    			{
    				echo "<div class='news-excerpt'>";
    
    				if(!empty($avia_config['widget_image_size']))
    				{
    					echo "<a class='news-link-inner' title='".get_the_title()."' href='".get_permalink()."'>";
    					echo "<strong class='news-headline'>".get_the_title()."</strong>";
    					echo "</a>";
    					if($time_format)
    					{
    						echo "<span class='news-time'>".get_the_excerpt()."</span>";	
    					}
    
    				}
    				echo "</div>";
    			}
    

    Regards,
    Peter

    #256779
    This reply has been marked as private.
    #256938

    Hi!

    Thank you for the update.

    Do you mind if we take a look at the website? On the same page, at the top of the code suggested, please look for this codes:

    if(empty($avia_config['widget_image_size']) || 'display title and excerpt' != $excerpt)
    			{
    				echo "<strong class='news-headline'>".get_the_title();
    				
    				if($time_format)
    				{
    					echo "<span class='news-time'>".get_the_time($time_format)."</span>";	
    				}
    				
    				echo "</strong>";
    			}
    			echo "</a>";

    Replace it with:

    if(empty($avia_config['widget_image_size']) || 'display title and excerpt' != $excerpt)
    			{
    				echo "<strong class='news-headline'>".get_the_title();
    				
    				if($time_format)
    				{
    					echo "<span class='news-time'>".get_the_excerpt()."</span>";	
    				}
    				
    				echo "</strong>";
    			}
    			echo "</a>";

    Cheers!
    Ismael

    #256966
    This reply has been marked as private.
    #257071

    It works great now. Thanks!

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Latest Portfolio Changes’ is closed to new replies.