Skip to content

Magenaut

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

slug

Is it possible to get a page link from its slug?

August 2, 2022August 1, 2022 by Magenaut

Is it possible to get a page’s permalink from the slug alone? I’m aware that you can get the page’s permalink from the ID using get_page_link():

Categories Q&A, Wordpress Tags pages, permalinks, slug Leave a comment

Custom Post type & Taxonomy URL structure

August 2, 2022August 1, 2022 by Magenaut

I have a custom post type products and a custom taxonomy ‘Product Categories’ with the slug products.

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

Interesting Custom Post Type Slug with Taxonomy and Custom Field

August 2, 2022August 1, 2022 by Magenaut

I have created a custom post type called “events” and have also created a custom taxonomy which only shows up on this specific post type through which the admin must select an “event category” (terms).

Categories Q&A, Wordpress Tags custom-post-types, customization, mod-rewrite, slug, url-rewriting Leave a comment

Combining Multiple Taxonomies in one URL

August 1, 2022July 31, 2022 by Magenaut

I’m creating a complex site with a product catalog with two custom taxonomies. They are Brands and Types.

Categories Q&A, Wordpress Tags custom-post-types, custom-taxonomy, htaccess, permalinks, slug Leave a comment

custom slug for custom post type

August 1, 2022July 31, 2022 by Magenaut

Hi and thanks for reading.

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

WordPress slug issue with non-latin characters

August 1, 2022July 31, 2022 by Magenaut

I’m using permalinks in WP as: domain.com/category/post_name

Categories Q&A, Wordpress Tags permalinks, slug Leave a comment

Get list of all registered post types slugs

August 1, 2022July 31, 2022 by Magenaut

I’d like to get a list (array) of all the post types I registered.

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

How does WordPress generate URL slugs?

August 1, 2022July 31, 2022 by Magenaut

Is there a page somewhere that details exactly how WordPress generates slugs for URLs? I’m writing a script that needs to generate URL slugs identical to the ones WordPress generates.

Categories Q&A, Wordpress Tags slug, urls Leave a comment

Taxonomy archive with same slug as custom post type?

August 1, 2022July 31, 2022 by Magenaut

My head hurts…

Categories Q&A, Wordpress Tags custom-post-types, custom-taxonomy, slug Leave a comment
Newer posts
← Previous Page1 … Page4 Page5
  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