Maybe this works, currently not tested. Only a idea to enhance for the custom var.
Also I don’t the goal right.
add_filter( 'query_vars', 'add_custom_query_var' );
function add_custom_query_var( $vars ) {
$vars[] = '#';
return $vars;
}
A other hint is the link to the codex, to filter the rewrite of WP.
Related Posts:
- Get parent page url to show up when it is in child pages
- Why is there a link tag with rel “profile” pointing to gmpg.org?
- How to use wpLink without editor?
- How to print translation supported text with HTML URL
- Is it possible to link to draft pages?
- How to use wp_rel_nofollow to add nofollow to external links only?
- get_category_link() is returning nothing
- Social Media Links on homepage – within posts/post loop
- Is there any way to set default for “Insert/Edit Link” to “Open link in new window”?
- Change website URL without breaking links or images? WP 3.3
- What is the canonical way to link to pages?
- How do I remove or disable “Or link to existing content” in “insert link” dialogue?
- Retrieving all Links from a Post?
- Auto-embed link info from URLs in link post format?
- Generate Random Post Links Somewhere in the post
- Add Link Text Back to Insert/edit link Box
- How to list all external URLs that I have posted on my WordPress blog?
- Page-Linking Structure
- I copied my site to another site but all links point to old site
- Get post / page ID from ACF Link field
- Creating a navigation link to my front-page
- Relative links for performance?
- Dont’t change active Button while I’m listing a category?
- How do i set the read more link?
- Plugin for wikipedia style references in WP?
- Problem creating an edit link for a custom post type
- How should I add links to other pages/posts from my post?
- After duplicating site to a sub folder, links send user to original site
- Automaticly replace a link with other “new link”
- How to add a WordPress page with multiple picture links?
- Enumerating over a category of links
- Twitter links in widget don’t work?
- WordPress links https overwrite issue
- Migrated from Windows to Linux. Any bulk methods for fixing case sensitivity?
- Read more link to external webpage
- WordPress changes URL?
- How to generate a list of all urls
- How to apply default post categories to link manager plugin
- How to change all external links to “nofollow” but only for Contributor role?
- Do you use links?
- How to get post permalink url without a href
- how do I get rid of the links and all the links related menu items on the admin ui?
- Remove nofollow from specific internal links
- Change homepage’s logo link [duplicate]
- Allow insecure embedded content in a SSL secured website
- remove the title attribute from links [closed]
- How to prevent WordPress from abbreviating long slugs?
- Embed/Link external web pages into my WordPress blog (Like Facebook grabs Image, Title, and Description)
- How to remove the link of an image on WP 4.2
- Previous and older set of posts links
- Page to show a link to every file in an directory
- Put password on a wordpress link in a article
- Disable title link in the backend for non-admins
- How to link post titles on page A to its posts on page B?
- What’s the URL to my blogs (from my home page – which is a “page”)
- How to make different urls for some tags pages
- how do I turn off whatever causes links to be embedded as URL’s site title
- How to make entire in blog post page linked?
- How to make a random dynamic url?
- Problem with links once in portfolio item
- WordPress does not show correct page
- Bulk change link to pdf’s
- ddnss linking problem
- White image when I share my site
- How to track which users click link/button?
- My WP homepage works, but the other pages don’t when accessing from out side of my network
- How can I get the url from file uploaded in Media Library
- Rotate prefix for external domain links using functions.php?
- How to change the canonical link from a category or taxonomy archive?
- How to mask external download links to be only accessible by logged-in users?
- Content -> Post is easy, but Post -> Content is hard
- WooCommerce product id as permalink
- Metallex Theme modifies links after saving them
- bloginfo(); outputs wrong urls without https on inner pages
- How can I add a sortable link_updated column to the Link Manager?
- how to display country/region/subject/post reasonably
- Propper way to set anchor and url param
- What is the proper way to call a function (from functions.php) on a link click?
- Remove link function from oembed image or video
- Links open when scrolling on touch devices/mobile
- Site migration and how to write internal links with migration in mind
- How to change dynamic link to relevant post
- Remove all link title attributes
- How do I change the “href” link that corresponds with an “li class” statement?
- Links offset on my page
- Latin character conversion
- What is the issue with our links? It creates a loop
- insert link in wordpress editor greyout whole screen?
- remove the ‘page’ URL parameter in previous/next posts link
- Internal linking search box not working – WP 3.2
- Blogroll import/export with categories and descriptions
- WordPress: How to make a subsubdirectory
- External Links Not Working [closed]
- Access the article edit page from the web address bar?
- Link to blogg-page
- Is it posibble to have alink to display all posts on index.php?
- PHP Button Custom link [closed]
- I’ve been trying for an hour to remove the underline from links; I don’t understand why something that should be so simple is so difficult [closed]
- how to add permalink/slug to wordpress custom link menu item
- gallery link not displaying photos