Codeless
  • Support Home
  • Themes
  • Support
  • WordPress Tutorials
    • How to Start a Blog
    • Best Website Builders
    • Best Small Business Hosting
    • Email Marketing Services
    • Cheap WordPress Hosting
  • Video Tutorials

Community Forums

Removing Category from Home Page posts

    • 8 years, 4 months ago JJesenovec
      Participant

      Expired

      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.

       

    • 8 years, 4 months ago Mirela
      Participant

      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!

    • 8 years, 4 months ago JJesenovec
      Participant

      Expired

      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>';*/
      
      &nbsp;
      • This reply was modified 8 years, 4 months ago by Mirela.
    • 8 years, 4 months ago Mirela
      Participant

      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!

      • 8 years, 4 months ago JJesenovec
        Participant

        Expired

        This reply has been marked as private.
    • 8 years, 4 months ago Mirela
      Participant

      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!

    • 8 years, 4 months ago JJesenovec
      Participant

      Expired

      This reply has been marked as private.
    • 8 years, 4 months ago JJesenovec
      Participant

      Expired

      This reply has been marked as private.
    • 8 years, 3 months ago Mirela
      Participant
      This reply has been marked as private.
    • 8 years, 3 months ago JJesenovec
      Participant

      Expired

      This reply has been marked as private.
    • 8 years, 3 months ago JJesenovec
      Participant

      Expired

      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>

    • 8 years, 3 months ago Mirela
      Participant
      This reply has been marked as private.
Viewing 10 reply threads

You must be logged in to reply to this topic.

Login

Log In
Register

Renew Support

  • Renew Specular Support
  • Renew Tower Support
  • Renew Folie Support
  • Renew Handel Support
  • Renew June Support
  • Renew Picante Support
  • Renew Thype Support
  • Renew Regn Support

Search Forums

Forums

  • Bygge – Construction Theme
  • Converta – Software Theme
  • Folie – The WordPress Website Builder
  • Handel – Responsive Multi-Purpose Business Theme
  • June WooCommerce WordPress Theme
  • Livecast – Podcast Theme
  • Picante – Restaurant & Food WordPress Theme
  • Regn | Agency & Business WordPress Theme
  • Remake – Minimal Portfolio & Agency Theme
  • Specular – Multi-Purpose WordPress Theme
  • Suggest us Features
  • Tower – Business-Driven Multipurpose WP Theme
  • Vibrance – Photography Theme

Site Links

  • Support Policy
  • Specular Support Forum
  • Video Tutorials
  • Knowledge Base
  • Guides and Reviews

Useful Articles

  • Build a Website
  • Web Design & Development
  • Hosting
  • WordPress

Login

Log In
Register Lost Password