Category in page title

Ask questions about FlatPress themes, present your themes, request new themes.
Post Reply
User avatar
Madekozu
Posts: 45
Joined: Thu Apr 21, 2022 8:41 am
Location: Hemmingen (Germany, BaWü)
Contact:

Category in page title

Post by Madekozu » Fri Apr 22, 2022 9:23 pm

---English
Hello, everyone,

I noticed that the categories are unfortunately not displayed in the page title (Leggero V2). This is of course a bit unfavorable, since you cannot see which category you are in at the moment.

<title>{$flatpress.title|tag:wp_title:'&laquo;'}</title>
...there would still have to be the category, similar to the static pages.

Has anyone ever tried to implement this?

---German
Hallo zusammen,

Mir ist aufgefallen, daß die Kategorien leider nicht im Seitentitel angezeigt werden (Leggero V2). Das ist natürlich etwas ungünstig, da man nicht sieht, in welcher Kategorie man sich gerade befindet.

<title>{$flatpress.title|tag:wp_title:'&laquo;'}</title>
...da müsste noch die Katergorie dazu, ähnlich wie bei den statischen Seiten.

Hat das schonmal jemand bei sich versucht umzusetzen?
Bäume spenden Schatten und Kettensägen Licht!

bttr
Posts: 47
Joined: Tue Mar 22, 2022 9:20 pm
Location: Berlin, Germany
Contact:

Re: Category in page title

Post by bttr » Sat Apr 23, 2022 1:11 pm

Hi!

Where do static pages show their category in the title? AFAIK, you can't assign categories to static pages.

Entries can be filed to more than one category. Which one to show then?

User avatar
Madekozu
Posts: 45
Joined: Thu Apr 21, 2022 8:41 am
Location: Hemmingen (Germany, BaWü)
Contact:

Re: Category in page title

Post by Madekozu » Sat Apr 23, 2022 1:23 pm

I must have expressed myself a bit unfavorably there. I meant that purely visually.
For static pages that would be
<title>blog title &laquo; static page title</title>

That would be for the categories
<title>blog title &laquo; category</title>
Bäume spenden Schatten und Kettensägen Licht!

bttr
Posts: 47
Joined: Tue Mar 22, 2022 9:20 pm
Location: Berlin, Germany
Contact:

Re: Category in page title

Post by bttr » Sat Apr 23, 2022 1:31 pm

I think, I understand now.
You mean, when the URL contains something like "category/name_of_category", the web browser tab shows "blog title" only.

User avatar
Madekozu
Posts: 45
Joined: Thu Apr 21, 2022 8:41 am
Location: Hemmingen (Germany, BaWü)
Contact:

Re: Category in page title

Post by Madekozu » Sat Apr 23, 2022 1:32 pm

yes, exactly
Bäume spenden Schatten und Kettensägen Licht!

User avatar
Arvid
FlatPress Coder
Posts: 555
Joined: Sat Jan 26, 2019 7:40 pm
Contact:

Re: Category in page title

Post by Arvid » Tue May 03, 2022 6:30 pm

Hi,

the SEO Metatag plugin has you covered for this one.

All the best,
Arvid

User avatar
Madekozu
Posts: 45
Joined: Thu Apr 21, 2022 8:41 am
Location: Hemmingen (Germany, BaWü)
Contact:

Re: Category in page title

Post by Madekozu » Tue May 03, 2022 7:52 pm

I know the plugin, but unfortunately there is probably still a security problem.
Bäume spenden Schatten und Kettensägen Licht!

Tongara
Posts: 77
Joined: Wed Jan 22, 2020 11:09 am
Location: Birmingham, UK
Contact:

Re: Category in page title

Post by Tongara » Tue May 03, 2022 8:41 pm

I still use it myself as the issue was never specified .
I wonder if it will ever be updated.

User avatar
Arvid
FlatPress Coder
Posts: 555
Joined: Sat Jan 26, 2019 7:40 pm
Contact:

Re: Category in page title

Post by Arvid » Thu May 05, 2022 6:17 pm

I still do not know exactly what the security problem is, all we have is this one sentence in Igor's blog...

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests