Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

title

Custom Taxonomies Terms as Post Title for Custom Post Types upon Publishing

August 3, 2022August 2, 2022 by Magenaut

I am using Gravity Forms to allow users to create posts from the front end.

Categories Q&A, Wordpress Tags custom-post-types, custom-taxonomy, terms, title Leave a comment

How to add terms to a post depending on its title?

August 3, 2022August 2, 2022 by Magenaut

I want to add all posts with keyword “Dog Training” in the post title to a specific category.

Categories Q&A, Wordpress Tags plugins, taxonomy, title Leave a comment

Using php to overwrite or replace title tag, while using yoast

August 3, 2022August 2, 2022 by Magenaut

I use yoast for my seo, indexing, title, sitemap etc. But I have one issue, for my product pages I want to use costum taxonomy data and yoast doesnt support that. Now I got the code to echo the exact title I want in the product pages but how do I let it overwrite the … Read more

Categories Q&A, Wordpress Tags plugin-wp-seo-yoast, title Leave a comment

How do I get a post (page or CPT) ID from a title or slug?

August 3, 2022August 2, 2022 by Magenaut

I’ve scoured the Codex, failed to get get_page_by_title() to work and am quite surprised that there doesn’t seem to be a standard WP function for this task.

Categories Q&A, Wordpress Tags custom-post-types, slug, title Leave a comment

Changing title of a page dynamically from within a plugin

August 3, 2022August 2, 2022 by Magenaut

Every WordPress page can be described as having two titles:

Categories Q&A, Wordpress Tags get-the-title, plugins, title, wp-title Leave a comment

Disallow Same Post Title

August 3, 2022August 2, 2022 by Magenaut

I am looking for some code where member can’t use the same title as another post already having or used.

Categories Q&A, Wordpress Tags posts, title Leave a comment

Apply the_title() filter in post & page title, but not in menu title

August 3, 2022August 2, 2022 by Magenaut

I use the following code to change the title of WordPress posts and pages. But it changes nav menu item titles too, which I want to avoid.

Categories Q&A, Wordpress Tags filters, menus, pages, posts, title Leave a comment

Change page title from plugin

August 3, 2022August 2, 2022 by Magenaut

Is possible to change page title on the fly from plugin?

Categories Q&A, Wordpress Tags init, plugins, title Leave a comment

How to display page title+link of page created by user

August 3, 2022August 2, 2022 by Magenaut

I want to check if user is logged in and if have created a page. If so, option 1 is shown. This all works fine.

Categories Q&A, Wordpress Tags links, pages, title, users Leave a comment

title_save_pre on post publish

August 3, 2022August 2, 2022 by Magenaut

I’m trying to build the title of a custom post using the values within post custom fields. The problem is that using title_save_pre only executes when I update the post, not when I create it.

Categories Q&A, Wordpress Tags custom-post-types, title Leave a comment
Older posts
Newer posts
← Previous Page1 Page2 Page3 Page4 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress