As stated in my comment the best solution would be to create a child theme and edit the file generating the post meta. This would give you full control of what is being generated and you won’t have to worry about hiding unwanted content via CSS.
However, you could hide the text nodes and show the elements you want by doing something like this…
.post-meta {
visibility:collapse;
}
.published {
visibility:visible;
}
Note: The above hidden items will still keep their space in the DOM, so you could add float:left to .published to break the flow.
Related Posts:
- how to remove metadata from the posts of my blog?
- How to update custom fields using the wp_insert_post() function?
- Adding first / last CSS classes to menus
- WordPress Admin Bar pushed Sticky Footer off the bottom of the page
- Get meta_id along with meta_key and meta_value
- How to target with css, admin elements according to user role level?
- How can merge two arrays values in one array and save in database
- Check if user already visited this post today
- Display all meta for a post?
- the_author_posts_link css class
- How to display multiple Post meta_key/meta_values by SQL query
- WordPress Shortcode and Dynamic CSS
- the_post_thumbnail() based on the Post ID
- How to use multiple query with same meta key
- How to change “Shipping Calculator “field label on Cart Page – woocommerce? [closed]
- How to update single value in multi dimensional Post Meta?
- “wp_enqueue_style();” don’t load new edited style
- Best way of adding CSS which can be manipulated by the user via theme option panels?
- Need help on WordPress and php
- Multiple pages on one with different HTML
- functions.php not adding css to website?
- Why is my get_post_meta always empty
- Compare two meta key values against each other inside the get_posts array?
- wp enqueue style and style sheet depth
- How can update custom meta for all posts
- WordPress Customizer not setting default value upon initial install?
- Theme Customizer – Dynamic CSS PHP File
- CSS saved & enqueued, but wordpress doesn’t load css text, only file
- Using PHP in a Stylesheet (possibly a “.htaccess” problem?)
- WordPress loop specific thumbnail size
- WordPress doesn’t include css
- Understanding child theme functions.php
- wp_enqueue_style with style.php and WordPress functions
- Is it possible to use the featured image of a page as a css background without inlining?
- if file_exists not working with wp_enqueue_style
- Use ajax to update_post_meta
- Want to create Child theme, but already edited Parent theme css files and some php files
- Minify HTML, CSS, JS with PHPWee?
- Using PHP to toggle stylesheet and header image, set in cookie
- Archive dropdown styling not applied
- How to display a value from a radio button in the options menu in wordpress
- How should I best target dynamically served content?
- Different background-image by category
- Style every second widget?
- How to scale image with equal width and height without distortion?
- Add a Different CSS Class Into The Body Tag of Different WP Pages
- php syntax – how to concatenate properly – echo bloginfo(‘stylesheet_directory)
- how to increase custom post value by one most efficiently?
- Batch update a post meta field value of each post in Post Type
- wp nav menu: add attributes to menu items [duplicate]
- How to Display Image Meta underneath EVERY image in EVERY post
- WordPress override bloginfo variable
- Put CSS inside a PHP file and include it the right way
- Change description on specific WooCommerce product status change
- Shortcode content output but not in correct place
- An unwanted inline style is added to my body tag
- Displaying theme options in css
- Show post in slider
- Use WP_Query in shortcode
- Problem adding class to body_class
- Add a custom stylesheet for BlackBerry
- How can I hide Home in my menu in a specific page?
- Missing sidebar parameter “fix” – before_content
- Get different images for mobile and desktop with php, advanced custom fields without using js and ajax
- How Display Posts on category
- Get Current User Id Inside a Loop Returns 0 For a Shortcode
- Random order of WP_Query results with highest meta value
- How to stop featured image thumbnail [set as background image] on blog index page just repeating same image across all posts
- Slider loading issue
- Plugin CSS not enqueing
- Hide Hamburger Menu On Specific Page (Front Page/Home Page)
- Parent theme CSS overriding child CSS rules
- The text box have space character
- How can I create a list of page titles from custom meta values?
- Trying to remove post thumbnail with plugin
- Randomly Assign an Image’s Alt Text Based on Data From Post
- How to style options page in dashboard?
- Theme Options Page – User Updates Logo
- Advanced Meta Query for Large Calendar Website (12k+ posts) (175k+ wp_postmeta rows)
- How to use my style.css file outside of wordpress subdomain?
- Dynamic Stylesheet loads but doesn’t finish
- How to add date to navigation bar
- Selectbox in admin panel function linking to CSS
- Can I install/embed WordPress on a ‘single page’?
- How to create different templates for woocommerce single-product.php?
- How to modify default tags in wp_head()
- How do I make a shortcode to display Dokan seller badge list?
- Live Preview while customizing is not showing the updates while editing in WordPress
- Editing stylehseet url in head section of WordPress
- ACF block gutenberg aligncenter don’t work
- Sort Woocommerce Products with Numbered Titles Numerically
- separating column the variations from the add to cart button woocommerce
- How can we upload custom page files?
- HELP PLEASE PHP slider css
- Calling a PHP function from a menu item
- Embed dynamic media query in a Gutenberg block
- Get generated block styles programmatically
- Is it possible to remove the “Shop” title from the WooCommerce catalogue? [closed]
- Removing website URL in comments causes misalignment of submit button and tickbox
- How to add global CSS to all webpages without installing any plugin?