Support » Requests and Feedback » Conditional Tags

  • Currently there are a lot of functions that automatically insert links or text but don’t allow for much customization. This makes it tricky to do things like the following:

    • <?php comments_popup_link('No Comments', '1 Comment', '% Comments', 'class', 'off'); ?>
    • Some other items
    • etc

    In particular, if the above code is inserted on an archived entry with comments displayed, there ends up being an empty

  • in the list where the comments link would have been. Currently, there’s no way to avoid this in the above scenario.
    Another example is creating a link to comment authors. If I want to do something like:

    Then I’m left with an undesirable Author's URI if the poster didn’t include his/her URI.
    Are there any conditional tags or functions I can use to acheive these sort of results?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Conditional Tags’ is closed to new replies.