Skip to content

EDIT "the_author_posts_link" #249

Answered by crftwrk
avdsm asked this question in Q&A
Sep 8, 2022 · 1 comments · 7 replies
Discussion options

You must be logged in to vote

Hello,

this are all pluggable functions in https://github.com/bootscore/bootscore/blob/main/inc/template-tags.php. You can edit all by copy the function between the if (!function_exists('bootscore_function_name')) : ... endif; to your child's functions.php.

For example this one removes the date updated:

function bootscore_date() {
  $time_string = '<time class="entry-date published updated" datetime="%1$s">%2$s</time>';
  if (get_the_time('U') !== get_the_modified_time('U')) {
    $time_string = '<time class="entry-date published" datetime="%1$s">%2$s</time>';
  }

  $time_string = sprintf(
    $time_string,
    esc_attr(get_the_date(DATE_W3C)),
    esc_html(get_the_date())
  );

  $poste…

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@crftwrk
Comment options

@avdsm
Comment options

@avdsm
Comment options

@avdsm
Comment options

@crftwrk
Comment options

Answer selected by avdsm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #248 on September 08, 2022 15:27.