currently browsing changes

Viewing 8 posts - 1 through 8 (of 8 total)
  • #11583
    jakras81
    Participant

    Hi

    I can change the “currently browsing”, but how do i change the word category, when browsing a category?

    When I have performed a search I would also like to add (after currently browsing) searchresults for “search term”

    I would also like to add “archive” after currently browsing on archive pages.

    Hope you can help.

    Thank you.

    #11584
    Alexander
    Participant

    Hi jakras81,

    you can do this be editing your .language (.pot) file that comes with the theme at /pinboard/languages. Instead of making a translation you can just tweak the actual wording.

    Cheers,
    Alexander @ http://www.mouseclick.com

    #11587
    jakras81
    Participant

    I can’t find this things in my lang files and if I change the word archive manually it will use the word on search results as well.

    so this doesn’t solve the problem and it doesn’t solve the problem about showing results for search term after currently browsing.

    #11706
    jakras81
    Participant

    Can’t anyone figure this out? Thank you.

    #11775
    Daniel Tara
    Keymaster

    Here’s a tutorial how to do it.

    #11808
    jakras81
    Participant

    Thanks, but I can translate the theme.

    But I would like to add different output to different pages, like I first described.

    That is not possible via translation…

    #11831
    Daniel Tara
    Keymaster

    You can edit the function pinboard_current_location() in functions.php and add more conditionals as to what text is displayed and when.

    #11908
    jakras81
    Participant

    Yes, but I don’t know what to do.

    For an example there is a piece of code that looks like it should show something else than currently browsing when I performed a search, but it doesn’t seem to work…

    elseif( is_search() ) {
    __( ‘Search results for’, ‘pinboard’ ) . ‘: "’ . get_search_query() . ‘"’;

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.