How to link to local post

Use the ugly link instead of the pretty link. For example, if your post id is 123, you can link to http://www.yoursite.com/?p=123. This will automatically get rewritten to your current pretty permalink. If you do it relative from the root, it also keeps the link intact if you change your domain name. (ex. href=”https://wordpress.stackexchange.com/?p=123″). To … Read more

Is there anyway to use relative link instead of absolute link?

You should be using home_url() ( or something similar ) in your links for theme files when linking to pages. This will allow the domain to change and not affect your hardcoded links – assuming the ID’s are the same of course. <a href=”https://wordpress.stackexchange.com/questions/161179/<?php echo home_url();?>/?page_id=634″>Link</a> Good luck!

I wish to remove, disable or hide the comment authors’ links to their sites from my home page

Add following code snippet in functions.php. (in your themefolder) Edit new code: – This should do the trick, sorry for the delay. /** * Remove post author link on comments * * @return string $author */ function wpse218025_remove_comment_author_link( $return, $author, $comment_ID ) { return $author; } add_filter( ‘get_comment_author_link’, ‘wpse218025_remove_comment_author_link’, 10, 3 ); Note: you can … Read more

Adding existing links to custom navigation menus?

You can’t add link/blogroll type items to the main navigation – add them as custom links instead. [Update] To be more precise, you could do it, but you would need to write some code that hooked into the menu creation/editing section, present a list of blogroll links in a metabox, allowed you to choose from … Read more