Viewing 15 replies - 1 through 15 (of 16 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Different URLs how?

    Each author has their own author page: domain.com/author/foobar

    Thread Starter CatherineJonk91

    (@catherinejonk91)

    Hmm, I mean from RSS feed, usually the PHP calls for each author.
    But usually without link.
    And I wonder if I can put a <a href tag to php calling to each author. Do I need php while or if for the <a href tag?

    Do your template files have author links? The RSS feed is generated from your template files.

    Thread Starter CatherineJonk91

    (@catherinejonk91)

    Hmm, it didn’t but I added a php into my theme’s code… ??
    What should I do?

    Thanks for the replies by the way

    Hmm, it didn’t but I added a php into my theme’s code… ??
    What should I do?

    What does this mean? What “PHP” did you add, and into what Theme template file did you add it (and where)?

    Thread Starter CatherineJonk91

    (@catherinejonk91)

    I just added this small line <?php the_author() ?> to the theme digital world.

    Try using this instead:

    <?php the_author_link(); ?>

    The the_author() tag simply outputs a name. The the_author_link() tag outputs a fully formed HTML link.

    Thread Starter CatherineJonk91

    (@catherinejonk91)

    Do you think it would work tho? Because I use RSS Feed and the author is not pulled from the wordpress itself….?

    and the author is not pulled from the wordpress itself….?

    What do you mean? I’m not following you here.

    Thread Starter CatherineJonk91

    (@catherinejonk91)

    Yes, I use an RSS Feed from FeedWordPress. So the author didn’t write the post directly to the site, I pulled the content out of an RSS feed.

    Okay, let’s start from the top:

    1) What are you trying to accomplish?
    2) What are you doing?
    3) What do you expect to happen?
    4) What is happening unexpectedly, or not happening as expected?

    Thread Starter CatherineJonk91

    (@catherinejonk91)

    1. I am trying to link their names to their websites (I have multiple RSS and each feed has multiple authors)
    2. I am creating a website
    3. I want to have link to each author’s site of each posts that I pulled
    4. Nothing, but I just want to add that feature on each posts

    “I am creating a website” isn’t really helpful.

    Clearly, you are creating a website. I am asking what you are trying to accomplish with your website. What content are you wanting to display? How are you generating content? How are you trying to display that content?

    Because, clearly you are doing something outside of the normal content creation via Posts and Pages. Knowing what you’re doing will help diagnose your problem, and propose a solution.

    Thread Starter CatherineJonk91

    (@catherinejonk91)

    I am featuring other’s RSS feed as one of my content. I am trying to provide some information on my site through Feeds, dynamic widgets, and charts so it will keep up to date.

    I am posting these infos in pages and posts. But I want to feature the authors and sources dynamically as well.

    Okay, that helps. ??

    So, you’re pulling in content via RSS feed, and displaying it on your site. What is the relationship to external feeds, external authors, and your site Pages/Posts? Do you have one author per feed, and one feed per Page/Post? Or something else?

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Assigning different URLs to different Authors in posts’ is closed to new replies.