529 reputation
316
bio website
location
age
visits member for 2 years, 10 months
seen yesterday

Jan
22
asked looking for link to file filter
Jan
16
revised getting post data in functions.php
removed a bad link
Jan
16
comment How to add category to: 'wp-admin/post-new.php'?
I thought by adding the code into functions.php that when I tick a category, it would add that parameter to the end of the string like in the photo above. I am trying to add a metabox to only a specific category. Then I will use $_GET to test if I am in the correct category to load the metabox. When I tried the code and tried to replicate what is in your photo above, nothing happened. All I got was wp-admin/post-new.php. I am trying to get wp-admin/post-new.php?post_cat=audio
Jan
16
comment How to add category to: 'wp-admin/post-new.php'?
I tried this solution by pasting the code into my functions.php file and it didn't work. Am I missing something? Do I need to do more like call the function to make it do the job?
Jan
15
awarded  Notable Question
Jan
15
revised getting post data in functions.php
Added more relavent information
Jan
15
answered getting post data in functions.php
Jan
15
comment getting post data in functions.php
no joy. I really don't understand this. I have this code working in a different theme on another install. Maybe something else is going on. I will have to look into it further
Jan
15
comment getting post data in functions.php
says Post not found in global space
Jan
15
comment getting post data in functions.php
no, unfortunately it isn't working. It's like the post variable is empty. The errors are gone but the metabox does not show in any category
Jan
15
revised getting post data in functions.php
added 124 characters in body
Jan
15
comment getting post data in functions.php
there is an action. I will edit the code to show that.
Jan
15
asked getting post data in functions.php
Jan
10
accepted add custom option to get_categories dropdown
Jan
9
comment add custom option to get_categories dropdown
no, There is only the code I posted above. That alone generates my select box.
Jan
9
asked add custom option to get_categories dropdown
Dec
31
asked 2015 theme issue
Dec
30
comment menu is only pulling in one item
A link to the site would be helpful. Also, list what settings you have in the admin area for your menu. Is the primary location set for the "navigation" menu? Does the navigation menu in the admin area have more than one item in it? Did the client mess with the menu? Have you installed any plugins lately that could be messing with it?
Dec
29
comment Pre_get_posts to exclude latest posts of a custom taxonomy, can't find the error
even when you get a blank page, sometimes if you view the source code, there is an error that shows. Are you getting one?
Dec
27
comment WP_Query condition affects posts_per_page count
ok, never mind that. Thought it might be worth a try. I found an article on here that might help wordpress.stackexchange.com/questions/100585/…