You can do this using jQuery.
First of all, you need to add your script into your functions.php
function my_theme_scripts() {
wp_enqueue_script( 'expand-tags', get_site_url() . '/js/expand-tags.js', array( 'jquery' ), '1.0.0', true );
}
add_action( 'admin_enqueue_scripts', 'my_theme_scripts' );
Then, in your file (expand-tags.js
) which is located on, for example, public_html/mysite/js/
, you will have to have something like this:
$(document).ready(function() {
$("#link-post_tag").trigger("click");
});
link-post_tag is the ID of the Choose from the most used tags button, so when the page is loaded, a button click will be triggered.
Related Posts:
- Human Time Diff, change mins to minutes
- Adding Multiple Values to a Post Meta Key
- Converting a dynamic piece of code using WordPress Loop into a static one using Post ID
- Setting posts_per_page for taxonomy term template
- Change all author links in Blog roll
- saving/reading custom field value does not work – no value gets POSTed
- Check if user has avatar
- Run function after post is updated
- How to change the case of all post titles to “Title Case”
- Function to execute when a post is moved to trash .
- Displaying the category name of a custom post type
- How to allow hidden custom fields to be added from wp-admin/post.php?
- Fatal error: Call to undefined function post_exists()
- How to batch update post content with custom post meta value
- Convert IPTC keywords to blog post tags
- Code to auto expire posts after 30 days
- Show Custom Taxonomy Categories, Listing of Posts, and Single Post via AJAX
- Keep a fluid max number of posts on site
- Edit meta data does’t work with custom sql
- Custom colors for post rows based on post meta value
- How to add an admin function only to posts, not pages?
- Custom wp_trim_words() function not trimming right
- How do I get the slug of a custom taxonomy category of a post?
- Delete Post From Front-End and attachment permanently
- Limit function to specific post category
- When paginating a Page with the tag, how can the 2nd and subsequent page styles be customised?
- Post taxonomy from exif data
- Function to show random posts from a category
- Hiding posts in a list from specified categories
- PHP Notice error (when on 404 page)
- disable column on post and user list
- Checking is user author of number of posts?
- How to permanently delete a post meta entry?
- Create cron job without a plugin?
- Modify WP_Post before processing
- How to rename “Publish” metabox title in post screen
- Uppercase first sentence in every post
- Get posts by name and taxonomy term
- How can I sort posts by the date and a custom meta field?
- Get Meta Key Value While Saving Post
- Show the content that is after the excerpt using child theme
- How to allow users to post only in certain category and hide elements from edit page?
- Posts list in custom taxonomy
- How to Restrict Previous & Next Post Link to Posts of Same Category?
- Prepending %category% onto default posts fails
- get_adjacent_post by language
- Remove Custom Post Type Slug and add Custom Taxonomy to Permalink Structure?
- Is it possible to paste a link without tags and make it directly a link in a post?
- Force authors to Preview a post before publishing
- Cannot retrieve a custom RSS field from posts
- Order posts alphabetically: how to set order=asc in mysql query?
- How to calculate the average of a post meta value(Numeric) of a specific author
- Post type no single page
- Adding a user’s ID behind the tag ref link address
- Isn’t the way posts are displayed very unefficient?
- WordPress bulk category select when publishing post
- How to check in functions.php if there is data in a WP_Query?
- Get post by tag
- Related Posts function not working
- the_content() Not Grabbing All Content
- Add multiple meta keys to a post at once
- Query function not executed between element [closed]
- The loop starting at a certain ID
- Simple Custom Metabox Not Saving
- Have h2 tag not show up if there are no blog posts
- WordPress as CMS: How to manage/handle images assigned to a post as full-sized background images in a slideshow?
- How to output all taxonomy links from a custom post type in a menu?
- Geting error in post and category [closed]
- SQL DELETE multiple post_meta on single and multi-sites
- How to put the author of the post in the comments?
- Check if almost 10 year old – working code is up to date
- How to add a custom class attribute into code wrapper? [duplicate]
- Post not using taxonomy template
- Remove pagination if search returns empty
- Remove HTML tags from all posts
- Create/Set Category as Title of Post
- Automatically select template based on query string for New Posts
- Save All Post Permalink From A Specific Category into a .txt file
- Page with Category Returning 1
- How to Display Most View Post in the template file?
- Customizing URL slugs of Custom Post Type and Taxonomy make posts/pages 404
- Show post excerpt
- How do I apply a wordpress function to something with no ID inside an archive page?
- Show author bio box
- Display author bio box
- Creating Ordered Query using Meta_key
- Add a meta to a post submited from a frontend form
- Call image from post on index page?
- How to get only current images of a post
- How do I get thumbnails?
- When Author add new post change default status to pending
- Adding custom fields to the Quick Edit screen – puzzled about the column concept
- fire action when post is being edited as well as saved?
- Getting rid of the blog page entirely
- Notify Author of the post if admin deletes his post and perform some function
- How to display the date under the post title?
- NewsPaper WP Theme – Additional Related Posts Filter by Time (divTag composer)
- What effect can a large wp_post table have on overall site performance?
- How to make ‘show_option_all’, that comes from wp_list_categoreis, to work with get_categories or with get_terms?
- How to sort posts alphabetically based on a specific parent category