• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

How add Author Link in Single Listings

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › How add Author Link in Single Listings

This topic is: resolved

Tagged: Agentpress Pro, Custom Post Type, post_author_posts_link, single listing

  • This topic has 2 replies, 2 voices, and was last updated 4 years, 2 months ago by Brad Dalton.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • January 22, 2019 at 5:28 pm #422425
    Angelo
    Member

    Hello, I would like to know if someone can help me with the following.
    If I add the [post_author_posts_link] shortcode to any entry, the name of the author will be shown with the respective link to the author page..

    But if I add the [post_author_posts_link] shortcode to any single listing, it just does not work and nothing is shown on the front.

    I'm looking for a function that helps me solve the problem

    https://www.facebook.com/angeloaguilarq
    January 24, 2019 at 4:35 pm #453978
    Angelo
    Member

    Finally I did this, Is Working, But I Dont Know if is relly correct and clean code
    https://github.com/klish09/author-archive-link

    The final result That i want is this
    https://drive.google.com/file/d/1SpK9XFiiZ8R8bYX8PREJbq8rSlo-qWon/view"

    January 24, 2019 at 11:17 pm #458616
    Brad Dalton
    Participant

    Please paste the code in a Gist and link to it from here.


    Tutorials for StudioPress Themes.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble