Add the CSS to your child themes style.css file or load it using wp_enqueue_scripts
add_action( 'wp_enqueue_scripts', 'wpsites_load_custom_styles' );
function wpsites_load_custom_styles() {
wp_register_style( 'custom-css', get_stylesheet_directory_uri() . '/your-style.css', false, '1.0.0' );
wp_enqueue_style( 'custom-css' );
}
Related Posts:
- IP address character limit
- Load more AJAX on WP Query
- Using AJAX to return search form results
- Foreach-generated custom tax queries, each with an ajax “Load more” button
- Update Loop with Form
- Refine/Filter WP_Query Posts with jQuery or Ajax
- How can I convert results of WP_Query (of Custom Post Type, with Custom Fields) to JavaScript?
- Load More Posts Button – AJAX
- Filter wordpress post categories with jquery/ajax and pagination?
- how update data through ajax and jquery
- How to show one post different from the rest?
- Change AJAX filter from POST to GET for URL Parameters
- Loading two different AJAX requests on two different pages
- Ajax (jquery) wp_query pagination returns -1
- WordPress AJAX Request returns 400
- WordPress live search and filter custom fields
- WordPress live search and filter
- Slick slider for post doesn’t display anything
- Filter admin ajax data by url query
- Finding post ID dynamically on click
- How to use jQuery validation to set the search bar to accept only a specific input?
- Wp includes access control
- Display posts side by side with custom query
- WordPress conflict with multiple load more posts functions on click
- how to avoid reloading/refresh the page when displaying the post of wp_list_categories
- active link for most recent post on vertical tabs
- Declare inline background image in functions.php
- How to solve this script problem in theme directory?
- Sorting Posts Based On Meta Value Using AJAX
- Loop the posts between two dates selected using jquery datepicker
- Custom search: Search posts but display parent page in results
- AJAX search function resets wp_query vars
- WordPress Ajax search filter on dropdown select
- Uncaught TypeError: Cannot read property ‘top’ of undefined
- How to display raw JSON data on a HTML page
- jQuery find element by data attribute value
- How to use aria-expanded=”true” to change a css property
- WP_Query: Exclude hidden products from WooCommerce product list
- Conditional arguments for WP_Query and tax_query depending on if $somevar has a value
- Combining two wordpress queries with pagination is not working
- query to find “parent” posts of CPT A while filtering “child” posts of CPT B
- Get Recent Posts by Date in Multisite
- next_posts_link not working for loop called with ajax
- author.php with ACF and CPTs
- Identify which loop you are hooking into; primary or secondary?
- tax_query in WP_Query problem
- Display posts from Last 24 hours and order them based on most views
- Query with pre_get_posts to get pagination
- Pagination is not working using WP_Query
- view queries made?
- Filter and list posts of a custom taxonomy
- How to show recent and upcoming birthdays using meta_query
- How WordPress attaches its Featured Images with posts?
- Tell wordpress to show a single page instead of an archive
- Have functions work outside the loop with 404 override
- Iterating through $wpdb query without using get_results for large query results
- how to make members list directory through wordpress post custom meta key.
- Loop Performance > JSON files vs. WP_Query vs. REST API
- Include current post into loop
- How to display the featured image for each post?
- How do I amend wp_query before it is run/executed?
- Post Thumbnail URL isn’t pulling into the background of div
- how to get Nearby zipcode
- Exclude authors IDs from WP_Query
- Reload Query Loop When FacetWP Uncheck [closed]
- WP Query Compare cutting off last 2 dates
- Wpdb->query result show 1 but is not an integer
- Loop 3 posts column wise and continue the loop into same columns
- Remove post type filter added by the plugin in the final query
- How to get more data of a post by wp_query
- WP_User_Query orderby meta_val_num
- Query Taxonomy By Page Title
- WP_Query custom order and pagination
- Why is the value zero going in my custom database table?
- function wp() does not use meta_query?
- Determine if ID is page or post and query the ID
- get_children() Archive Template
- What’s the best way to make a blog page on WordPress?
- Search filter between promo and exact price
- Populate select list with meta values from all posts of a Custom Post Type
- Exclude post from wp_query based on custom field boolean
- Bootstrap grid while loop
- Getting click on item to open closest relevant element (popup) with jQuery
- Pre get posts sort by meta key returns no results if meta key does not exist
- meta_query with relation = AND not working as expected when combining EQUALS with NOT EQUALS
- WP_User_Query not searching numbers?
- Using something else instead of using 9 wp_query
- orderby in WP_QUERY – Use the order from the Dashboard
- Escaping WP_Query tax_query when term has special character(s)
- Mathematical operations on custom field values? (updated)
- Issue with WP_Query (need a array of selected ID’s)
- How to exclude posts ordered by comment_count from subsequent wordpress loops using WP_Query?
- I cannot search users via user nicename
- Posts2Posts, wp_query and orderby issue
- WP_Query search by multiple meta key and distance
- Providing a function to override the default query
- WordPress Post Looping? [duplicate]
- Change posts archive ordering
- How to write a query-function as a query-shortcode?
- Show number of posts AND number on current page (cannot make it work)