#1 WordPress forum plugin created by gVectors Team

wpForo – WordPress Forum Plugin
  • Home
  • Forum
  • Migrate to wpForo
  • Addons
  • Addons Demo
  • Documentation

Forum

Home | Forum

wpDiscuz - WordPress Comment Plugin
  • Forums
  • Members
  • Recent Posts
Forums
Main Support Forums
How-to and Troubles...
How to Delete Categ...
 
Share:
Share
Tweet
Share
Notifications
Clear all

Script How to Delete Category Name in Meta Title?

    Last Post
RSS

ac10hacks
Posts: 5
 ac10hacks
Topic starter
April 13, 2021 8:30 am
(@ac10hacks)
Active Member
Joined: 1 year ago

Hello, I want to delete category name in meta title.

Example meta:

..Post Title.. - ..Category Name.. - ..Site Name..

Change to:

..Post Title.. - ..Site Name..

Cant find the code location.

Topic Tags
meta title meta tags
1 Reply
Robert
Posts: 8959
Robert - Twitter
 Robert
Admin
April 15, 2021 8:23 am
(@robert)
Support Team
Joined: 6 years ago

Hi @ac10hacks,

You should put this hook code in the functions.php file of your current active WordPress theme or in the Code Snippets plugin:

add_filter('wpforo_seo_topic_title', 'wpforo_my_custom_seo_topic_title');
function wpforo_my_custom_seo_topic_title( $title ){
if( isset($title[1]) ) unset($title[1]);
return $title;
}

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

Reply
  All forum topics
  Previous Topic
Next Topic  
Related Topics
  • Editing page meta title tag - Filter? Method?
    4 months ago
  • Weird link to admin profile
    10 months ago
  • Problem with WpForo
    1 year ago
  • How to Edit the Topic Slug / URL
    1 year ago
  • Site and Topic Snippet Title/Description is not showing when shared
    2 years ago
Topic Tags:  meta title (8), meta tags (7),

Forum Search

Join Us!

Download wpForo plugin
on WordPress.org

wpForo Addons

wpforo-private-messages wpforo-advanced-attachments-128x128 wpforo-embeds-128x128 wpForo User Custom Fields addon wpForo – Blog Cross Posting addon wpForo Ads Manager wpForo – WooCommerce Memberships Integration wpForo Emoticons wpForo – Tenor GIFs Integration
View all Addons »

Recent Topics

  • File in antisapm protection not deleted

    By pesimist57, 5 hours ago

  • How to make URL dynamic like - post1233

    By kedy, 7 hours ago

  • Error 2253 Root Cause

    By aaronmckeon, 24 hours ago

  • Forum page

    By Charlespresh, 2 days ago

  • How can I make notification bell appear site wide?

    By marios, 2 days ago

  • wpForo not working correctly with Silk browser on Fire 7 Tablet

    By starman71, 3 days ago

Topic Tags

  • translation49
  • css49
  • plugin conflict48
  • seo45
  • new features43
  • buddypress42
  • ultimate member40
  • avatar40
  • forum40
  • moderation38
  • login38
  • registration36
  • threaded layout35
  • cache33
  • editor32
  • menu32
  • shortcode30
  • spam29
  • phrases28
  • forum accesses28
View all tags (2160)

Recent Posts

  • Can users be in multiple forums?

    Hello, thanks for reading this! We are looking for a wo...

    By monimair, 15 mins ago

  • RE: Show Likers with their avatar

    Hi @chris thanks for your helpbut what do you mean b...

    By Tutrix, 1 hour ago

  • RE: File in antisapm protection not deleted

    Hi @pesimist57, This is not related to wpForo, please...

    By Chris, 3 hours ago

  • RE: How to make URL dynamic like - post1233

    @martin @chris Yes I understand this. I know the sh...

    By kedy, 6 hours ago

  • RE: how to add image in the post?

    I think it's working.. Thank you @chris

    By kedy, 7 hours ago

  • RE: wpForo 2 Major Update is Imminent!

    Damn, i was really looking forward to this feature as I...

    By Macky, 18 hours ago

  • RE: How can i remove the Buttons under Name?

    @y-3 ##wpforo #wpforo-wrap .wpfl-1 .wpforo-post .wpf...

    By Tutrix, 20 hours ago

Share:
Share
Tweet
Share
  Forum Statistics
20 Forums
9,750 Topics
49.4 K Posts
9 Online
43.3 K Members

Latest Post: Can users be in multiple forums? Our newest member: Rupiahtoto Bandar Togel Resmi ... Recent Posts Unread Posts Tags

Forum Icons: Forum contains no unread posts Forum contains unread posts

Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

Powered by wpForo | Copyright © 2016-2022 gVectors Team
Copyright Registration Service - Click here for more information or to register work
wpForo is Registered with the IP Rights Office
Copyright Registration Service

Ref: 4477265538
  • Home
  • Forum
  • Migrate to wpForo
  • Addons
  • Addons Demo
  • Documentation