This one is work in progress
Add this in codeblock in single post template Title is wrapped with h3 and thumbnail is having class (‘your-class-name’) that you can change to your needs.
Paste this into custom plugin’s functions.php return 15 means 15 words excerpt text being eclipsed. More on WordPress.org
By default, WordPress compresses your images for better performance. Every time you upload a JPEG image in WordPress, it would automatically compress the image to 90% quality. All you need to do is paste the following code in your custom plugin’s functions.php When you do make these image quality changes, you want to make sure…
If you need to display only certain post type ( page, post, custom post) you need to add this to function.php On line 4 change what post type you need. Source: https://www.wpbeginner.com/wp-tutorials/how-to-limit-search-results-for-specific-post-types-in-wordpress/
Product cat is category name for WooCommerce products category. Thanks, Hammad Wali for sharing this useful code!
The result will be just Category name Default is: Category: Category name If you want to change “Category:” use this: Thanks, Hammad Wali for sharing this useful code!
after the file path add array, version and then print An entire block stored in function.php should look like this. You can always add it as @media print but with this you will have much more flexibility and load it where you need it. More about Print CSS: https://www.sitepoint.com/css-printer-friendly-pages/ https://www.smashingmagazine.com/2018/05/print-stylesheets-in-2018/
Place code bellow in your function.php
This is custom code will loop 3 posts in same categories without a current post with random sorting.
In code block when you are using script add to PHP tab: You need to put path from /wp-content/ and not just plugins folder PHP JavaScript Note: Got this trick from a good friend Alexander Buzmakov. Visit his tutorials oxywp.com.
Open preferences by pressing Command + “,” And paste the following snippet Taken from: https://gist.github.com/supawaza/8009192
If you need just parent cagetory Parrent Child Child Child
Replace “projeckte_cat” with your taxonomy slug.
PHP in Function PHP in codeblock CSS
List of categories for posts with link to archive and wrapped in classes To enable it for taxonomies add this line and replace ‘produckte’ with your taxonomy slug And on the end you will get this for custom categories ( taxonomies) Here is preview of HTML output:
3rd party plugins admin after_body Alt archive Blocks Category clean up composite elemenets core CPT CSS Custom Custom Post Dashboard flexslider Front End FSE full site editing Gallery hook HTML Image load styles Must Have notice Oxygen Password Permalink plugins Post List Publish Date repeater settings page share single product Taxonomy Taxonomy Term themes Tips Topbar WooCommerce wordpress WP Admin WPML