This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Modify Meta Information

  • Creator
    Topic
  • #3055
    leahb
    Member

    I want to remove the ‘Posted on’ and the comment information from the meta throughout the entire site. I found the source for this in display.php and removed it there (after duplicating to the child theme). HOwever, this did not remove it on the front end. Do you have any other suggestions? Thank yoU!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Author
    Replies
  • #3057
    Jason Bobich
    Keymaster

    Hello,

    When you copied the function to your Child theme to edit it, did you place it before the framework is included in your Child theme’s functions.php?

    #3062
    leahb
    Member

    Please clarify – right now I have it in the root Akita-child folder. I didn’t call to it in the functions.php file. Is this what I need to do?

    #3090
    Jason Bobich
    Keymaster

    Here is a complete guide to editing any function you’ve found in the theme:

    http://dev.themeblvd.com/tutorial/editing-framework-functions/

    In a nutshell, you take the function you found in display.php of the theme, and copy it to your Child theme’s functions.php before the framework runs.

    #3150
    leahb
    Member

    I think I have done this, but it still isn’t rendering on the front end. Here is my code in functions.php of the Child Theme:

    <?php
    
    if( ! function_exists( 'themeblvd_blog_meta_default' ) ) {
    	function themeblvd_blog_meta_default() {
    		
    		// Setup text strings so their run through the 
    		// framework's frontend localization filter.
    		$text = array(
    			'by' =>themeblvd_get_local( 'by' ),
    		
    			'in' => themeblvd_get_local( 'in' ),
    	
    		);
    		
    		?>
    		
    			
    			<?php the_time( get_option('date_format') ); ?>
    			 <?php echo $text['by']; ?> 
    			<a href="&lt;?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?&gt;" title="&lt;?php echo sprintf( esc_attr__( 'View all posts by %s', TB_GETTEXT_DOMAIN ), get_the_author() ); ?&gt;" rel="nofollow">&lt;?php the_author(); ?&gt;</a>
    			 &lt;?php _e( 'in', TB_GETTEXT_DOMAIN ); ?&gt; 
    			&lt;?php the_category(', '); ?&gt;
    			
    		<!-- .entry-meta -->		
    		&lt;?php 
    	}
    }
    /*-------------------------------------------------------*/
    /* Run Theme Blvd framework (required)
    /*-------------------------------------------------------*/
    
    require_once ( TEMPLATEPATH . '/framework/themeblvd.php' );
    
    
    /*-------------------------------------------------------*/
    /* Start Child Theme
    /*-------------------------------------------------------*/
    #3162
    Jason Bobich
    Keymaster

    Yes this is correct, but this theme uses the function called akita_blog_meta found in /includes/theme-functions.php that’s hooked in place of the one you’re trying to edit.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The forum ‘Akita Responsive WordPress Theme’ is closed to new topics and replies.