need help with a user-specific custom page template
need help with a user-specific custom page template
need help with a user-specific custom page template
Control Content On Non-Blog Pages
OK, so you’ve got a couple of ways to go about this, but first, you need to decide how urgently you want to inform the user that their value is invalid: immediately, or when the post is saved? A general rule of thumb would suggest that earlier is better, but given that you seem to … Read more
How would you implement a CTA infront of a videoplayer? [closed]
Custom post type adds time/date and author to the post?
Load MediaPlayerElement after Infinity Scroll loads more posts
There are two options you can do it with custom code. For the shipping remove form thank you page you need to override the template. This is all based on the thankyou.php of woocommerce. You need to delete the lines of code you do not wish to be shown and upload them to the following … Read more
As suggested by Sally CJ in the comments. gettext was the easiest and fastest way to make this possible.
I find my answer on the internet. function numeric_category_rewrite_rules( $rules ) { $custom_rules = array(); foreach ( $rules as $regex => $rewrite ) { $regex = str_replace( ‘/(.+?)/’, ‘/([0-9]{1,})/’, $regex ); $rewrite = str_replace( ‘?category_name=”, “?cat=”, $rewrite ); $custom_rules[ $regex ] = $rewrite; } return $custom_rules; } add_filter( “category_rewrite_rules’, ‘numeric_category_rewrite_rules’ ); function numeric_category_link( $category_link, $term_id … Read more
Yes this is normal for post content, but it should never make it to the frontend if you’ve processed your content correctly, e.g. by using the_content() to display it. This implies you’re displaying raw content that has not gone through the_content filter