NateJacobs
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Fatal error when switching themesIf you mean this theme it appears they have a support forum on their website. I would go ahead and post this question there as well.
This error means the theme code has an error in it. If you have access to the ftp account you can try uploading the newest version of the theme, from the theme directory, to your themes folder.
Forum: Fixing WordPress
In reply to: White pages, have to refresh the pageCouple different potential problems.
- The server PHP memory limit may be to low.
- A recently activated plugin is causing a problem.
Steps to try and remedy.
- Deactivate all plugins and then reactivate one at a time to try and recreate the problem.
- Try increasing memory allocated to PHP. Read the Codex article.
- Change this line of wp-config.php
define('WP_DEBUG', false);
todefine('WP_DEBUG', true);
and see if any errors are given. Make sure you change it back to false as soon as you find the error message.
Forum: Fixing WordPress
In reply to: What does 'Subscribed' Registered Users meanA user with a role of ‘subscriber’ only has the capability to read the content on the site. They also have the ability to create a profile. A user with the role of ‘editor’ has the capability to edit posts/pages, delete posts/pages, and several others. If the user has the capability and the theme you are using is set-up to support it, a link that says ‘edit’ will appear on a post or page that that user is able to edit.
To learn more about how role and capabilities work in WordPress see the Codex article.
Forum: Plugins
In reply to: 30 day password expirationI found this plugin that lets you expire the password after X number of days.
Forum: Themes and Templates
In reply to: font size options in twenty eleven?You will need to use your style sheet and create new styles to override the default text sizes used in the parent theme. For example, to change the font-size of the blog post title add this line to your child theme stylesheet
.entry-title{ font-size: 30px; }
. This will make the title text larger.Forum: Fixing WordPress
In reply to: Error messageDid you activate any plugins right before you started getting the error message? This means there is code being used on your site that is using an old function no longer supported by WordPress.
Forum: Fixing WordPress
In reply to: Queries and Custom FieldsI believe you will need to add
'compare' => 'how compare'
to each meta_query array. WordPress does not automatically set a compare value, yet. See this trac ticket. You may also need to set a'key' => 'some key'
for your second meta array.Forum: Plugins
In reply to: Wondering if there's a plugin for this…Awesome, let me know how it works for you.
Forum: Fixing WordPress
In reply to: add_shortcode questionSorry about that. I misunderstood the question. In that case, I do not know how you would do what you wish. Out of curiosity why do you want two shortcodes that do the same thing?
Forum: Plugins
In reply to: update_user_meta not workingAwesome. Glad to hear.
Forum: Plugins
In reply to: Different slider IN each postYou bet.
Forum: Themes and Templates
In reply to: have all posts under a page (structure wise) ?You bet. Glad you got it figured out.
Forum: Fixing WordPress
In reply to: Conditional Tags For Author PageThis should get you started. Check if the custom fields are empty and depending on outcome display the appropriate bio information. You will need to pass an author_id unless you use the conditional tags in the loop. Read more about the_author_meta in the Codex.
function mysite_author_bio( $user_id ) { $french_bio = get_the_author_meta( 'french_bio', $user_id ); $english_bio = get_the_author_meta( 'english_bio', $user_id ); if( !empty( $french_bio ) && !empty( $english_bio ) ) { /*display both bios*/ } else if ( !empty( $french_bio ) && empty( $english_bio ) ) { /*display the french bio*/ } else if ( empty( $french_bio ) && !empty( $english_bio ) ) { /*display the english bio*/ } else { /*do something if neither are set*/ } }
Forum: Plugins
In reply to: update_user_meta not workingI spotted two things. First, you are missing the call to
global $nff_custom_fields;
in yournffpc_save_custom_profile_field
function so the variable is undefined. Second, on line 58 and 59 your callback functions have an ‘s’ on the end, but your function name on line 44 does not.Forum: Themes and Templates
In reply to: Using meta in custom post typeYou need to add the meta boxes to the post screen. The Codex has a good write up with example code to follow.
The function is called
add_meta_box()