Create anchor from Wysiwyg editor
In the “tinyMCE Advanced” plugin has a special icon for that. The default WordPress installation don’t offer the anchor icon/attribute editor.
In the “tinyMCE Advanced” plugin has a special icon for that. The default WordPress installation don’t offer the anchor icon/attribute editor.
(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
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
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
If you mean Links in admin menu then run /wp-admin/options.php find key link_manager_enabled and set value to 1. Save.
Custom Post Type archive link in WYSIWYG editor
You can use the antispambot() function for this. Example: <a href=”https://wordpress.stackexchange.com/questions/22957/<?php echo antispambot(“mailto:[email protected]?subject=Hello there’); ?>”>Some link text</a>
As far as I know it’s not possible to query the links directly, but there is definetly a link_updated field in the wp_links table, so you can use wpdb to interact with it and return the latest (modified) links. There’s also a solution here. EDIT : Updating a link doesn’t change link_updated, but here is … Read more
Thats not a default wordpress menu, your theme adds that using add_theme_page() function. Just remove ( or comment out //, so in future you can enable it again ) that from functions.php file to remove the menu completely. Update – There’s another (More Efficient) way is using WordPress Function – remove menu page() – @Wyck
Edit You have indicated that you wish to reuse this code, so it is better used within a function so that it can be called whenever you desire. I’ve made changes to my answer to reflect this below. You can use the below code to generate a list of posts (in you case 2x random … Read more