-
-
On my homepage at JeremyJesenovec.net, about 2/3 down is “Our Latest Blog / News.”
1. How do I remove the line ___ under the “Our Latest Blog / News.”
2. How do I remove the date, divider slash (/), and category display from above the post excerpt?
I’ve already turned off author and date under blog configuration. It turned the date off on the posts, but not here.
-
Hello,
Sorry for the late reply.
1-To remove the line under Latest blog title, please add this code into your custom css box:
.block_title.section_title .divider {display: none;}
2-To remove the ‘/’ sign in the date, you have to edit the latest_blog.php file. Go to vc_templates/latest_blog.php and find this block:
$output .= '<ul class="info">'; $output .= '<li>'.get_the_date().'</li>'; $output .= '<li>/</li>'; $output .= '<li>'.$cats.'</li>'; $output .= '</ul>';
Remove or comment this line from it:
$output .= '<li>/</li>'; $output .= '<li>'.$cats.'</li>';
Save changes.
Best regards!
-
Thank you but only the first part worked.
I commented out this whole section because I wanted the date, the forward slash and the category gone from the home page latest blog posts. When that didn’t work I deleted them but they are still there. This is how the code looks now. I’ve cleared my cache, deleted my cookies and browsed incognito.
/*$output .= '<ul class="info">'; $output .= '<li>'.get_the_date().'</li>'; $output .= '<li>/</li>'; $output .= '<li>'.$cats.'</li>'; $output .= '</ul>';*/
- This reply was modified 7 years, 10 months ago by Mirela.
-
Hello,
It’s not possible for it not to work. perhaps you made some mistake while editing the file. Please send us some valid ftp credentials in a private reply. Or fill in you profile data.
Read this article for more information.We can make this editing for you.
Best regards!
-
-
Hello,
Can you please check the ftp? I can not access none of theme files from this location. Please see screenshot: https://pho.to/AbU3c
Let us know.Best regards!
-
-
-
-
-
I deleted the entire <span style=”color: #101010; font-family: ‘Open Sans’, Helvetica, Arial, sans-serif; font-size: 13px; text-align: center;”>latest_blog .php and the blog posts, date and category are still appearing on the home page. Is it possible we are editing the wrong file?</span>
-
-
You must be logged in to reply to this topic.