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?
- Adding first / last CSS classes to menus
- WordPress Admin Bar pushed Sticky Footer off the bottom of the page
- Display all meta for a post?
- the_post_thumbnail() based on the Post ID
- How to change “Shipping Calculator “field label on Cart Page – woocommerce? [closed]
- functions.php not adding css to website?
- Why is my get_post_meta always empty
- Theme Customizer – Dynamic CSS PHP File
- if file_exists not working with wp_enqueue_style
- Want to create Child theme, but already edited Parent theme css files and some php files
- Using PHP to toggle stylesheet and header image, set in cookie
- wp nav menu: add attributes to menu items [duplicate]
- Put CSS inside a PHP file and include it the right way
- Use WP_Query in shortcode
- Missing sidebar parameter “fix” – before_content
- How Display Posts on category
- Random order of WP_Query results with highest meta value
- Parent theme CSS overriding child CSS rules
- Trying to remove post thumbnail with plugin
- How to style options page in dashboard?
- Theme Options Page – User Updates Logo
- 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
- Can I install/embed WordPress on a ‘single page’?
- Incorrect MIME type for assets with Valet
- Customize position of social icons in upme plugin [closed]
- Best way to schedule daily change in CSS parameter
- WordPress update_post_meta updating with empty meta_value field [closed]
- Which is the correct way to conditionally enqueue a CSS file?
- Use PHP in stylesheet to specify a background image based on Category ID
- Get post id within comments loop
- WordPress wp_add_inline_style unable to give hex colors?
- How to create table in wordpress without plugin? [closed]
- Add class to DIV depending on page loaded
- Liking a facebook page from wordpress website?
- trouble with page_id & highlighting current page
- wordpress admin plugin menu custom css
- How to use two meta_compare in an array?
- How to remove sidebar primary widget on Mobile on category page [closed]
- Where can I find the inline-css of my theme header?
- Remove empty terms from array, sort alphabetically, update back to repeating field
- WordPress yoast seo plugin – parse snippet var in meta description
- Using rules in Posts
- Website completely messes up when logging out
- Issue Enqueueing WordPress style.css
- Save the value of a wp_dropdown_pages
- How to add new CSS file to new PHP file
- Applying CSS on PHP variable [closed]
- How to check post meta isset or not empty during publish/save post?
- Timber right sidebar in WordPress theme
- get value from get_post_meta then reuse it in another get_post_meta
- How to find which .mo file is responsible for displaying a particular localized string?
- How to Remove Theme Style CSS inside Custom Plugin?
- Add other class content with reference class value
- Loop for recently (updated_post_meta) posts?
- Adding Custom css file in the wp-uploads directory with custom php functions
- How do I integrate vanilla Javascript to a wordpress website?
- Cannot dequeue Elementor Font Awesome css
- How to find and delete a menu item in php?
- Using zip code to display custom data in Admin Order Details
- WordPress Slider is not working
- How to display post meta bellow every posts
- How to let mobile navigation menu close when link is clicked?
- update_post_meta Not Processing Array Data (Not Sure What I Am Missing)
- Add Shortcode to ::before class
- Fix hover images blink
- Blog Image and Title in Right Sidebar
- When working with a post, almost all wp_postmeta are deleted
- Post Meta statement?
- Displaying POST content with HTML tags and all
- Updating Lat and Lng of posts automatically gives sporadic results
- How to add Open/Close Toggle button into Twenty Fifteen theme for hiding left sidebar?
- Position a repeated article blocks
- Custom Thumbnails [closed]
- Click to expand menu
- Revision History for Entire WordPress Site
- wp add inline style in loop
- WordPress – Image href for home menu nav not working
- Display pages from specific page template
- get_post_meta is always empty when I use wp_mail
- How do I use CSS or PHP to customize WordPress Form Manager Plugin Table?
- Sidebar doesnt get updated?
- How to NOT override inline css rules
- How to add together (get the sum) a field from all author’s posts
- Add CSS class to PHP Statement
- How to add margin underneath woocommerce total price amount -> productpages
- Load files content [closed]
- How to display the date under the post title?
- Load slideshow.css file only if Slideshow is checked / on
- Predefine Magazine Style Layouts
- It’s not showing full content for posts pages in wordpress “[…]” while customing some changes in the style.css file [closed]
- Add a “Next Post” & “Previous Post” styled button manually to a post
- Sorting Problem
- hello can you advise how to fix the error?
- inner-wrap div pushing custom table far down on page
- Styling best practices for single pages/templates
- Embed dynamic media query in a Gutenberg block
- Get generated block styles programmatically