• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
WordPress a2z

WordPress a2z

WordPress Dynamic API Reference

  • Home
  • Plugins
  • Themes
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / APIs / twentynineteen_posted_by() – Prints HTML with meta information about theme author.

You appear to be a bot. Output may be restricted

Description

Prints HTML with meta information about theme author.

Usage

twentynineteen_posted_by();

Parameters

Returns

void

Source

File name: twentynineteen/inc/template-tags.php
Lines:

1 to 10 of 10
  function twentynineteen_posted_by() {
    printf(
      /* translators: 1: SVG icon. 2: Post author, only visible to screen readers. 3: Author link. */
      '<span class="byline">%1$s<span class="screen-reader-text">%2$s</span><span class="author vcard"><a class="url fn n" href="%3$s">%4$s</a></span></span>',
      twentynineteen_get_icon_svg( 'person', 16 ),
      __( 'Posted by', 'twentynineteen' ),
      esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
      esc_html( get_the_author() )
    );
  }
 

 View on GitHub View on Trac

Published: 25th November 2019 | Last updated: 8th April 2020

Primary Sidebar

Information

Function name: twentynineteen_posted_by
Plugin ref: Twenty Nineteen
Version: 2.4
Sourcefile: inc/template-tags.php
File ref: inc/template-tags.php
Deprecated?: No
API Letters: B,P,T

Footer

WordPress a2z
WordPress a2z
WordPress Dynamic API Reference
WordPress 6.2.2. PHP: 8.0.28
WordPress a2z
WordPress core a2z
Genesis Theme Framework a2z
Jetpack a2z
WordPress develop tests
Easy Digital Downloads a2z
WooCommerce a2z
Yoast SEO a2z
WordPress Blocks

Site:  wp-a2z.org
© Copyright WordPress a2z 2014-2023. All rights reserved.


Website designed and developed by Herb Miller
Proudly powered by WordPress and oik plugins

  • Home
  • Blog
  • Sitemap
  • Sites