How to change Wordpress Post Query variable in URL ("p") -


wordpress have "p" variable in query string showing post id of post = p variable. there way change var name? or add variable doing same thing? im looking way make wordpress recognize query this: wordpresssite.com/?id=123

those query vars , , p?simply means post . change can create custom post type (codex). then, example, if custom post type name : "bulding" , show

?bulding=xx 

just page shows page_id= , attachment shows attachment= ( both post types , reserved , implemented default )

that being said, not understand why 1 change , , why disturbs , sure hear ..


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

qt - Errors in generated MOC files for QT5 from cmake -