Question
I have a template which outputs the blog posts (Blog Page), I open one of the posts which use single.php template, Now how can I get the ID of it's parent which is the (Blog Page)? I should say that I ...
0
, , 5 months 0 Answers 51 views

Question
I have a menu name Social Network. I want to get the menus ID. I tried the following, but didn't succeed. global $wpdb; $menu_slug = 'social-network'; $menu_id = $wpdb->get_results( " SELECT TERM_ID ...
0
, 7 months 0 Answers 59 views

Question
On my site, I'm generating SKU's (unique ids) for each product. I don't use Whoocomerce, instead I have post type product for a different purpose. I'm using this function below to generate the ID's and I would like to know, ...
0
8 months 0 Answers 95 views