Resize Admin Featured Image Thumbnail in CPT Edit Screen
I have a custom post type for a slider and I’m using the Featured Image thumbnail uploader to set the image.
I have a custom post type for a slider and I’m using the Featured Image thumbnail uploader to set the image.
In the codex for WP_Query I see you can query by page_id=7 for pages or by p=7 for posts. Is there a way to get a post of any post type by ID? Like id=7 that will get it no matter if it’s a page, post or custom post type?
I am having trouble with Woocommerce product details and order details relationship. I’m not able to find the product ID of a related order ID on the View Orders page of the Woocommerce theme. I simply want to get the product content and permalink etc on View Orders page. I tried searching in wp_postmeta but … Read more
I am currently modernising an old WordPress theme (a standalone theme, not a child of any official themes). Trying to build pagination I am finding some issues creating one function that works for both archives and search. The first snippet works fine with archives (categories, loops, etc):
We have a totally custom theme that we have built in house, recently the WordPress updater has started saying the theme is out of date.
Running WP 3.9.1
I need to call a sidebar into my header. I’ve switched to the new twenty twelve theme and created my own child theme. With this new theme I decided to keep things organised and together, so I put my widgets functions, stylesheet and two new sidebar templates (one for header and one for footer widgets) in one folder called pgwidgets.
I’m using uninstall.php for my plugin to delete all the traces my plugin did to a site on uninstall (delete). I did it in a good way, but even after the deletion there are some fields in the options table:
Working on a WordPress support site which has registered only user content, including uploaded PDF and ZIP files.
I’ve been changing the way that the Single product page looks. I’ve moved a few things about by hooking into Woocommerce and also editing the css. Out of the box the single product page shows the short description (described as woocommerce_template_single_excerpt in the content-single-product.php file) next to the product image, but I want to show … Read more