How can I allow plugin users to define layouts for a custom post type
How can I allow plugin users to define layouts for a custom post type
How can I allow plugin users to define layouts for a custom post type
You can add taxonomy-subtopic-copyright.php and taxonomy-subtopic-trademark.php archive templates if you need that much granularity.
To achieve the permalink structure http://example.com/product_title-sku, you need to adjust the way the SKU is appended to the product title in the permalink. The current code appends the SKU to the end of the URL. Instead, you need to modify it to include a hyphen between the product title and the SKU. Here is the … Read more
Changing upload directory temporarily
select posts from sql except posts from specific category
woocommerce_admin_order_data_after_shipping_address is the hook you’re looking for. add_action( ‘woocommerce_admin_order_data_after_shipping_address’, ‘my_function’ ); function my_function( $order ) { echo ‘<div class=”jquery-copy”><input type=”text” readonly value=”‘ . esc_attr( $order->get_billing_email() ) . ‘”></div>’; } There’s a chance you might want to use $order->get_shipping_email() instead.
and <meta property="og:title"
So the issue was actually a DDOS attack on our site. I used urlsnarf to see what requests were being placed and there were basically hundreds of POST request from about 20-30 or so IP addresses. Seems quite small scale for what I understood is a typical DDOS attack. It also explains why it took … Read more
How do I highlight a WordPress Menu Item for a page that is not on the Menu?
Capture the Selected Radio Button Value between two files in wordpress theme