3five
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Post Editor missing in WP 3.5 after upgradeThanks Otto!
Forum: Fixing WordPress
In reply to: JS in Header Creating 404 ErrorHello David.
When loading scripts in the <head> of the document in WP, it is best to load scripts using the wp_enque_script and/or wp_register_script actions. http://codex.ww.wp.xz.cn/Function_Reference/wp_enqueue_script
The reason you might be getting this issue is because one or both of those scripts might be conflicting with the WordPress default script loading action. It could be a script dependency issue in there as well. The link above will give you more of an understanding of how WordPress handles loading scripts and why.
Try moving those scripts out of your <head> and try running them through that action instead and test your load time again.
Hope this helps. Good Luck.
Forum: Fixing WordPress
In reply to: Cannot adjust image sizeJust curious. Have you tried this on another computer at all? Some times the issue might be software or browser related on the local machine.
The only other thing I could suggest to you is to comb through your custom theme’s functions.php file and begin commenting out additional functions you may have added and looking for any unnecessary white space in it.
Good Luck.
Forum: Fixing WordPress
In reply to: Custom Post Type Admin Sub Menus missing for Non AdminI would recommend a plugin for that type of customization unless you are familiar with writing your own user role capabilities.
Here is a link to a good plugin for what you want to do: http://ww.wp.xz.cn/extend/plugins/user-role-editor/
Forum: Fixing WordPress
In reply to: 301 Redirecting frontpage to subpageUnderstood.
I would then suggest that you add a loop for this category in either the index.php file for your theme or create a page template that does the same thing. The second example I mention would use my original idea to set a static page as the front page.
Take a look at the WP_Query page and the category parameter. http://codex.ww.wp.xz.cn/Class_Reference/WP_Query#Category_Parameters
Forum: Fixing WordPress
In reply to: 301 Redirecting frontpage to subpageIf you’re going to redirect the user immediately to a subpage, why not just make that sub page your front page?
Under Settings => Reading => Front Page Displays. Then select A static page and select your page.
Forum: Fixing WordPress
In reply to: Custom Post Type Admin Sub Menus missing for Non AdminYes, user roles play an important part in what options are available in the admin section.
I’m sorry, i completely overlooked the part about being logged in as the contributor role. When you were logged in as a contributor, could you still see those sub menu options on Posts and Pages? From what I read of your first post, it sounds like you were able to see them while logged in as the admin but not when you are logged in as a contributor. Is this correct?
Here is a more info on user roles: http://codex.ww.wp.xz.cn/Roles_and_Capabilities#Capability_vs._Role_Table
Forum: Fixing WordPress
In reply to: Jquery only works when logged inHello Jeremy,
There are two main differences between those two actions.
1) init fires before wp_enqueue_scripts.
2) wp_enqueue_scripts has more params which can check to see if a script is already loaded or if it has dependancies. Basically it handles scripts better that init.Using wp_enqueue_scripts is the correct way to do what you are doing. Here is a short article on this topic as well: http://wordpress.stackexchange.com/a/55928
Glad to help.
Cheers
Forum: Fixing WordPress
In reply to: Jquery only works when logged inIt seems to be working fine for me.
Try also using wp_enqueue_scripts instead of init for your action.
Forum: Fixing WordPress
In reply to: Custom Post Type Admin Sub Menus missing for Non AdminDo you have the public key set to true in your register_post_type() function? Also, are you defining show_in_menu in the args array? Check out the full list of parameters on this page: http://codex.ww.wp.xz.cn/Function_Reference/register_post_type.
Forum: Fixing WordPress
In reply to: Username invalid?You can also use the built in WordPress password recovery system here: http://yourdomainhere.com/wp-login.php?action=lostpassword
Forum: Fixing WordPress
In reply to: Cannot adjust image sizeIf WPyogl’s advice doesn’t work you might also try re-installing WordPress from the Updates page. There might be a core file that was accidentally changed.
Good luck.