Forum Replies Created

Viewing 10 posts - 3,681 through 3,690 (of 6,341 total)
  • Author
    Posts
  • in reply to: Changes to theme_functions #6582

    Hi

    Don’t copy theme-functions.php file to the child theme, because it’s not a template file.

    You can just create a new functions.php file in the child theme folder, write your own function to override the van_posted_on() function as below.

    /*Post meta info*/
    if( !function_exists( 'child_posted_on') ){
      function child_posted_on(){
    ?>     
       <span class="blog-article-info"><?php printf(__('By %s','OldCar'),get_the_author());?> / <?php printf( __( 'in %2$s', 'OldCar' ), 'entry-utility-prep entry-utility-prep-cat-links', get_the_category_list( ', ' ) ); ?> / <?php the_time(get_option('date_format'));?></span>
    <?php
      }
    }

    Then, copy posts-normal.php and posts-grid.php file to the child theme folder, edit these file, replace van_posted_on() to child_posted_on()

    Thanks

    in reply to: Responsive slider not working #6581
    You must have valid license to access this content.
    in reply to: Close AJAX Portfolio #6576
    You must have valid license to access this content.
    in reply to: Change contact form field #6575
    You must have valid license to access this content.
    in reply to: Contac Form #6573
    You must have valid license to access this content.
    in reply to: CSS not taken into account #6567
    You must have valid license to access this content.
    in reply to: Change contact form field #6566
    You must have valid license to access this content.
    in reply to: Change Portfolio Single Page Colors #6564
    You must have valid license to access this content.
    in reply to: Change Portfolio Single Page Colors #6559
    You must have valid license to access this content.
    in reply to: Change Portfolio Single Page Colors #6558
    You must have valid license to access this content.
Viewing 10 posts - 3,681 through 3,690 (of 6,341 total)