Plugin that inserts favicon next to links

(from the closing duplicate) I typed this plugin very quickly during posting this… It seems to work, see http://leau.co (where I quickly tested it) or http://edward.de.leau.net (where I have tested it against more links in the post content) e.g. see the bottom left sidebar or some posts with multiple links in it. Hmmm, I will … Read more

How do I make my navigation bar link to an external page?

It depends on your theme and WP version (you’re using 2.9.1 – you should consider upgrading). You can: upgrade to V3+ to use the menu editor that’s built in (recommended) more info: http://templatic.com/news/wordpress-3-0-menu-management hard code your theme template with the link added to the end in the HTML modify the theme call to wp_list_pages() function … Read more

How to create a link to jump to “Leave a comment” part?

The code below should be something similar to what you’re looking for Inside the loop template you use for listing blogs (like index.php) you need something like this <a href=”<?php the_permalink(); ?>/#respond”> <!– The blog permalink with the anchor ID after –> <i class=”fa fa-comments-o”></i> Leave a Comment </a> Inside your comments.php file you could … Read more

How to list all external URLs that I have posted on my WordPress blog?

The above code had pagination concerns when I wanted to parse each and every page. So, building on the above, plus a kicker to search for links without ‘nofollow’ attributes, I came up with the following: <ol> <?php global $post; //Write Site URL below. //Don’t write http:// or anything like that. just domain.com or domain.net … Read more

Force PDF download from custom menu?

If you don’t mind all PDF attachments been forced to be downloaded then you can use something like this: <?php if (have_posts()) : while (have_posts()) : the_post(); $pdf_title = $post->post_title; $uploads_dir = wp_upload_dir(); $attachment_src = get_post_meta( $post->ID, ‘_wp_attached_file’, true ); $pdf_src = path_join( $uploads_dir[‘basedir’], $attachment_src ); header(“Pragma: public”); // required header(“Expires: 0”); header(“Cache-Control: must-revalidate, post-check=0, … Read more

Hooks for Links Box [duplicate]

Right now there are no hooks to do that from a plugin and the function that makes the search query itself is not pluggable which means that the only way to achieve that is to hack core files. Currently there is an open Trac Ticket asking for some kind of hook.

Handling URLs in WordPress application

../directory1/directory2/directory3/css/stylesheet.css should get you there if I am reading your description accurately. However, I would be very cautious using relative links in WordPress. They do not always work the way you’d expect because a lot of ‘directories’ don’t actually exist. They are fabricated by WordPress and mod_rewrite. The two conspire to lie about filesystem structure. … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)