There is a way to do it. Just include that CSS inside header before wp_head() with internal css. And then add the Source using PHP like below
<style>
.about-img:after {
background-image: url(<?php bloginfo('template_directory')?>/img/tola.jpeg);
}
</style>
Related Posts:
- How to improve my non-unique metadata MySQL entries?
- Using meta query (‘meta_query’) with a search query (‘s’)
- ORDER BY custom field value
- ‘Preview Changes’ for custom meta boxes?
- Using TinyMce with textareas in meta boxes on custom post types
- add meta box – custom field : which to choose?
- Can I query custom meta data through WP_Query
- Add metabox to document tab in gutenberg
- How can I avoid re-inventing the Custom Fields wheel in my Plugin’s Metabox?
- Add custom option to Standard Page Attributes Meta Box
- Only show metabox when date-value in other metabox is over?
- Is there a way to do multiple ordering on a multiple meta_query?
- Populating meta box with select-list of existing posts, and assigning it to custom post types
- Create meta boxes that don’t show in custom fields
- How To Create a Metabox of HTML Content with Instructions For Editors When Editing a Post or Page?
- wp_editor in add_meta_boxes does not show gallery
- Calling Specific Pages with wp query Part II
- How do I assign this filter to a variable? (Appending php & markup to the_content)
- Slow meta query with multi meta keys
- Using OR in WP_Query negates the “NOT EXISTS” compare
- Adding a custom field or metabox to the post-thumbnail widget?
- Displaying posts with only upcoming dates according their custom field date value
- How do I add custom_meta_box_id’s value?
- Sorting posts by multiple values, combined
- WP_Query display next custom post from today’s date
- My metabox class
- WP_Meta_Query causing long-running MySQL queries
- Loading scripts to the Post Edit page only
- Woocommerce with metabox plugin
- How to Display Custom Meta Box only on Specific Page IDs
- How to check for specific meta box value on front end and output accordingly
- How Meta Data is different from Custom Fields of POST/PAGE in WordPress
- Tweak Meta for Post to work it for Pages also
- How make a custom search on backend in WordPress without plugin?
- Users Select inside custom metabox
- How to add a new meta key and assign timestamp to posts
- Get content from pages with same meta_key from Database
- Should custom meta boxes be able to output shortcodes the same as WordPress’ native post editor?
- Custom Meta Box (SELECT) Not Saving
- How do I have WP_Query match posts based on search parameter OR meta fields? (rather than search parameters AND meta fields)?
- Get updated meta value after post update or published (custom post type) using hook
- Why is my Custom Meta Box Field Inputs NOT saving?
- Alter main archive, to show posts with meta as last
- custom-meta-box checkboxes from loop won’t save
- I need a “Choose from existing content” popin
- Outputing a metabox textarea and avoid line breaks inside li tags
- get posts where a custom field contains a text
- shortcode in a custom metabox
- Avoiding ACF get_field and returning to core WordPress function
- Problem with saving large amount of data in postmeta/usermeta
- Move Title and the Content WYSIWYG editor position
- Query post by date (stored custom field meta as yyyymmdd) and differentiate across 12 months
- How can I hide custom field from users used for caching response from external api?
- How to use media upload on metabox post page without breaking TinyMCE?
- Displaying Meta-Box Data Properly
- Let’s Create Custom Field Template Documentation
- Meta_query ‘compare’ => ‘LIKE’ not working?
- Diamond question mark in text after migrating content
- Can I save post meta programatically without setting metaboxes?
- Meta box values are displayed on Custom Fields list. Is it possible to hide them?
- If metabox has content display content
- Custom meta boxes not saving
- Get meta field value of all catgories
- How to store meta field values
- Best way to sort estates and query them (for rent? yes/no. contains office space? yes/no)?
- Need to search a custom field (ingredients, one long string per post), but want it to allow phrases/non-exact matches
- Making WP_Query limit results by date before today where date is a meta_query
- Set class if a meta value is set within post archive
- WordPress Blocks, setAttributes not saving
- Using Customizer API vs Custom Meta Box for custom content
- non-unique #_ajax_nonce id in browser console
- Filtering posts by ACF meta query
- Why does my numeric meta query work only on one meta key and not the other?
- Metabox/Custom fields are not saving input data
- meta_query to check all custom fields
- Issue on Creating Checkbox Field On Custom Post type
- WordPress admin area: select box with 12.000+ options
- Query by meta value (add a dropdown of all values)
- How to display selected option from dropdown list in a metabox
- Save, update, get and sanitize post meta as HTML not plain
- Why does this javascript search function in the WordPress Admin not work?
- Create Meta boxes dynamically
- Update custom table on metabox POST
- Save input form on custom field
- Metabox value for post loop?
- how to modify a field’s size in a metabox : ROWS height, and scroll control?
- Get meta value when the page is a blog archive
- Custom Meta Boxes and Fields for WordPress: Change directory upload based on user-edit page
- Query Posts Via WordPress URL
- wp_postmeta are updated for only one page
- Meta Box Data added to header redirect
- Meta_query not filtering posts
- Custom metaboxes not saving after switching themes
- Custom Metaboxes, multiple post selection
- added a meta box to post however when saving menu while debug on throws a warning
- loop through custom post-type with two meta_keys
- Custom Post Type + Custom Meta Query Not Showing 2012 Posts
- Get fields from metabox array
- Using CMB2 Plugin to create text_date metabox (datepicker) How do I save multiple dates? [closed]
- WP Query Args – search by meta_key or title