Skip to:
Content
Pages
Categories
Search
Top
Bottom

no title in content-single-reply.php


  • nicmare
    Participant

    @nicmare

    Everything works fine so far. But i noticed that every reply page’s title is incomplete. Please take a look at http://www.dashcamtest.de/support/antwort/911/ as you can see only the suffix “| dashcamtest.de” is in the title. But the real title of this reply is missing. i have no idea where to find the problem. i would expect the thread title has to be in the title. is that right? has someone an idea please? thanks!

Viewing 15 replies - 1 through 15 (of 15 total)

  • Robin W
    Moderator

    @robin-w

    couldn’t where ‘dashcamtest.de’ was in your example.

    The code is in loop-single-reply, which should show the title using line 22


    nicmare
    Participant

    @nicmare

    i was talking about the <title>. sorry for confusion. problem still exists :(


    Robin W
    Moderator

    @robin-w

    The “title” is showing, it is “support”

    The topic title shows above the breadcrumb, and yours resolves as

    <h1 class=”entry-title”>Support</h1>

    On my site this title is the topic (entry) title. so for example my site at the same point as your support title shows

    <h1 class=”entry-title”>Feeding Oats.</h1>

    where the topic is “Feeding Oats”


    nicmare
    Participant

    @nicmare

    mhh. as i already said i still talking about <title>! the one in the browser bar :D
    current sourcecode is: <title>| dashcamtest.de</title>
    as you can see the topic title is missing!


    Robin W
    Moderator

    @robin-w

    Sorry, there is a “title” within ‘content-single-reply.php’, so I had assumed that a topic called
    ‘no title in content-single-reply.php’ was referring to this :-)

    The url is referring to the post number.

    You set the format for this in permalinks

    Dashboard>settings>permalinks and set it to ‘postname’

    The name will then appear in the url


    nicmare
    Participant

    @nicmare

    haha. no problem. this is my custom structure in permalink’s settings:
    /%year%/%monthnum%/%postname%/

    so postname is already in permalinks.


    nicmare
    Participant

    @nicmare

    is it possible that you are assuming the link in my first post shows a thread? that isnt the case! it is a link to a single reply!!! the full thread / post is here: http://www.dashcamtest.de/support/thema/im-test-a-rival-carcam-guenstige-mini-dashcam-mit-akku/ and the link above shows ONE reply out of it.


    Robin W
    Moderator

    @robin-w

    ok, but replies don’t have a title in their own right, so the long version of the url which a user would get if they clicked on the reply is

    http://www.dashcamtest.de/support/thema/im-test-a-rival-carcam-guenstige-mini-dashcam-mit-akku/#post-911

    Sorry if I am being stupid, but you would only get to your link if you have dashboard access.

    In either event, what would you wish the url to look like?


    nicmare
    Participant

    @nicmare

    the url is fine. it shows just the id of the reply. no problem with that. but i was just wonding why there isn’t a topic title on this page. just found the reply urls by visiting the sitemap.xml: http://www.dashcamtest.de/reply-sitemap.xml


    nicmare
    Participant

    @nicmare

    so this is what users see when they come from google. now it would be more than good to display them the title and a link to the topic.


    Robin W
    Moderator

    @robin-w

    I think we’re going round in circles.

    “The topic “title” is showing, it is “support”

    The topic title shows above the breadcrumb, and yours resolves as

    <h1 class=”entry-title”>Support</h1>

    On my site this title is the topic (entry) title. so for example my site at the same point as your support title shows

    <h1 class=”entry-title”>Feeding Oats.</h1>

    where the topic is “Feeding Oats”

    Have you amended loop-single-reply?


    nicmare
    Participant

    @nicmare

    aah. forget the title “support”. this is the main title. you will find it everywhere! even on forum homepage:

    http://www.dashcamtest.de/support/

    the topic title is missing!

    to show you the difference: i am talkin about single replies NOT topics. it is the same with your reply as single page:

    https://bbpress.org/forums/reply/142999/

    as you can see there is a nice title with prefix “Reply to:…”
    and THIS is what i miss in my page. do you understand now? :-)


    Robin W
    Moderator

    @robin-w

    That wording is in form-reply – have you altered this?


    nicmare
    Participant

    @nicmare

    ha! now problem 1 solved! thank you! i just copied it from form-reply and pasted in content-single-reply. now the topic title appears below the breadcrumbs. the only thing left: the <title> tag.


    Robin W
    Moderator

    @robin-w

    Great, glad you’re fixed !

Viewing 15 replies - 1 through 15 (of 15 total)

You must be logged in to reply to this topic.