Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #110311
    INFOYED
    Participant

    Dear @pratik,

    In the Google Search engine results the publication date of the page is set. I have searched the page content and the web a little bit and realized that the publication date is appended to the page content with “time” as follows:

    <div class="entry-container">
    		<header class="entry-header">
        		<h1 class="entry-title"><a href="http://www.ankaratercumeofisi.com/" title="Permalink to Ankara Tercüme Ofisi" rel="bookmark">Ankara Tercüme Ofisi</a></h1>
                <div class="assistive-text">
    				<span class="post-time">Posted on <time class="entry-date updated" datetime="2017-02-07T12:44:04+00:00" pubdate>February 7, 2017</time></span><span class="post-author">By <span class="author vcard"><a class="url fn n" href="http://www.ankaratercumeofisi.com/author/anktercofis/" title="View all posts by anktercofis" rel="author">anktercofis</a></span></span>            </div>
    		</header><!-- .entry-header -->
    
    		
     </div><!-- .entry-container --> 

    Each page has the same structure. How can I remove the div: <div class="assistive-text"> ?

    Best regards,

    #110353
    Mahesh
    Participant

    @infoyed: For that, you’ll need to create a child theme. You can find more details on creating child theme HERE. Then in your child theme, copy content-page.php file from the parent theme. Then remove the following block of codes.

    <div class="assistive-text">
        <?php echo catchkathmandu_page_post_meta(); ?>
    </div>

    Regards,
    Mahesh

    #110373
    INFOYED
    Participant

    Dear @Mahesh,
    Thank you, I will try this way.

    Best regards,

    #110385
    INFOYED
    Participant

    Dear @mahesh,

    I have create a child theme (copied and changed required files) as instructed and checked whether the child theme finds its parent via “Editor” part under “Appearance” section in wp-admin console.

    However, the child theme does not take effect. What would be the possible reasons?

    Best regards,

    #110390
    Mahesh
    Participant

    @infoyed: Have you activated the child theme? I checked your site, currently, parent theme is active.

    Regards,
    Mahesh

    #110391
    INFOYED
    Participant

    The only thing I did is uploading new child theme folder under wp-content/themes/ via FTP. Should I do something else? I can provide you screenshots or a temporary user to look into it.

    Best regards,

    #110392
    Mahesh
    Participant

    @infoyed: Go to Dashboard=> Appearance=> Themes and activate the child theme. Yes, you can provide me the temporary user. Please send it to mahesh [at] catchthemes [dot] com.

    Regards,
    Mahesh

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Removal of Date from page content’ is closed to new replies.