[wp-hackers] Custom Post Type and Taxonomy do not register

John 3:16 Media wp at john316media.com
Tue Mar 8 11:43:52 UTC 2011


Nevermind, manually switching to default permalinks /?p=123 then saving,
then back and saving worked.

On Tue, Mar 8, 2011 at 2:39 AM, John 3:16 Media <wp at john316media.com> wrote:

> Got a new problem, pages, posts, everything except the home page returns a
> 404 error, I did flush rewrite rules, not sure if there is something else
> i'm supposed to try.
>
>
> On Tue, Mar 8, 2011 at 1:30 AM, John 3:16 Media <wp at john316media.com>wrote:
>
>> Well first off it's in functions.php, second the function is firing, if I
>> echo 'Hello World'; I can see it when I reload the page.
>>
>> I did ultimately find the problem, the code was indeed working perfect.
>> The culprit was a plugin,
>> http://karmaprogressive.com/2010/09/our-wordpress-plugin-simple-admin-menu-editor/,
>> I installed it to hide the posts menu, since I won't be using posts.
>> However it apparently hides new menus by default, so I had to configure it
>> to show me the menus for the custom post type and taxonomy.
>>
>>   On Mon, Mar 7, 2011 at 9:42 PM, Mike Schinkel <
>> mikeschinkel at newclarity.net> wrote:
>>
>>>  On Mar 8, 2011, at 12:31 AM, John 3:16 Media wrote:
>>> > I am trying to register a custom post type on 3.1 with a custom
>>> taxonomy,
>>> > see my code at http://pastebin.com/jwwkLuCX
>>> >
>>> > The problem is it does nothing, well nothing new, Wordpress still loads
>>> just
>>> > fine, no errors even with debug on, but no menus for these either.  Am
>>> I
>>> > doing something wrong?
>>>
>>> I just tried your code and it works fine for me on 3.1.   Did you have
>>> that code in your theme's functions.php and if not, where is the code?
>>> If in your theme's functions.php file, what theme are you using (does it
>>> support a functions.php?)
>>>
>>> -Mike
>>>
>>>
>>> _______________________________________________
>>> wp-hackers mailing list
>>> wp-hackers at lists.automattic.com
>>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>>>
>>
>>
>


More information about the wp-hackers mailing list