I’m trying to create links to the next and previous posts within a specific tag (on the post page itself), but I can’t seem to find a plugin or...
I’m using twentyten and have overloaded home.php to do some custom stuff. However, I would still like to have a page that lists all of my recent posts, archive-style....
How do I add a link to a PDF in the content, so that it downloads rather than opens in the browser windows? (I’ve uploaded the PDF to the...
In my web pages I want to use relative links instead of absolute links. However, pages do not allow php code inside them, so i cannot do to from...
Is there a way to disable image attachment links trought a filter in functions.php or something ? I know it’s possible to do it manually when you add an...
UPDATE 2018: The plugin listed below no longer works with WP (as of version 4.5 I believe) but the code listed in the accepted answer DOES still work, so...
I am looking for a way to remove the attachment link from images in the post content. I would like to add this to the functions.php in my theme....
I’m wondering what is the use of the wp_links table, couldn’t links have been implemented as a custom post type, if the menu system also uses custom post types?...
I currently use the following method to get a prev / next blog page link: <?php previous_post_link( '%link', '%title' ); ?> However this includes the outer element, name etc,...
I have added a snippet to add a “Profile” link to my website navigation menu. My code: add_filter( 'wp_nav_menu_items', 'my_nav_menu_profile_link'); function my_nav_menu_profile_link($menu) { if (!is_user_logged_in()){ return $menu; } else...