ThemesFAQ

From IThemes Codex
Revision as of 05:29, October 26, 2010 by Ronald (Talk | contribs)
Jump to: navigation, search

Contents

General

How to change the Start Here link from the theme options

  • What: All iThemes themes come with a set of theme options in the WordPress dashboard. The first option is a "Start Here" link that will show a generic page with several related (and unrelated) video tutorials. To unbrand the theme, or to brand it as your own, you can change the page that the Start Here links to, to any page you desire. The highlighted line indicates where the URL is defined.
  • How: Add the following code to your child themes functions.php.
// Change the name Start Here 
function it_modify_tutorial_menu_name($name) {
    return "This is MY menu";
}
add_filter( 'it_tutorials_menu_name', 'it_modify_tutorial_menu_name' );

// Change the URL it links to
function it_modify_tutorials_url($url) {
   return "http://ithemes.com/customizing-theme-menu-with-filters/";
}
add_filter( 'it_tutorials_filter_url', 'it_modify_tutorials_url' );

Drop down menus appearing behind the video

For the video embed, use the following code:

<object height="344" width="425"><param name="wmode" value="transparent"><param name="movie" 
value="http://www.youtube.com/v/nRCExL6VQzI&hl=en&fs=1&"><param name="allowFullScreen" value="true">
<param name="allowscriptaccess" value="always"><embed src="http://www.youtube.com/v/nRCExL6VQzI&hl=en&fs=1&" 
type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" height="344" width="425" wmode="transparent"></object>

Note the added <param name="wmode" value="transparent"> at the beginning, and wmode="transparent" at the end of the embed code. Add the <param name="wmode" value="transparent"> after the first opening <object width="nnn″ height="mmm″>, and the other parameter right at the end after the height="nnn″ and before the closing </object> tag.


For an alternative solution using your functions.php file, see http://webdesign.com/fix-the-menu-video-overlap/

PHP Error messages

Error message: Out of memory (allocated 14680064) (tried to allocate 4864 bytes) (values may differ)

  • Cause: the message refers to a PHP error, and indicates that the memory limit size in the php configuration is too low.
  • Solution:

1. Add this line to your wp-config.php file:

define('WP_MEMORY_LIMIT', '64M');

if that doens't work:

2. If you have access to your PHP.ini file, change the line in PHP.ini If your line shows 32M try 64M:

memory_limit = 64M ; Maximum amount of memory a script may consume (64MB)

3. If you don't have access to PHP.ini try adding this to the .htaccess file in the root of your WordPress site:

php_value memory_limit 64M

More resources.

If all fails, you should contact your hosting provider and ask them to increase the memory limit. They will know what it's about.

Error message: Call to undefined function function_name()

  • Cause: WordPress, the theme, or a plugin tries to execute a function that does not exist.
  • Solution: Depending on where the error occurs (in a WordPress function, a Theme function or a Plugin function) update WordPress, the theme or the plugin to the latest version.

Featured Images

Images not showing

  • Cause: This occurs typically (but not necessarily!) after upgrading WordPress. The value for the uploads location in the WordPress settings has become corrupted, and shows a long value such as for instance domain.com/home/someone/public_html/domain/wp-content/uploads
  • Solution: Make sure that the value for your "uploads folder" is as recommended: wp-content/uploads.
Recommended settings for the uploads folder

    • In WordPress 3+, find this value in wp-dashboard > Settings > Media
    • In older WordPress versions, look in wp-dashboard > Settings > Miscellaneous

PluginBuddy

PluginBuddy licensing issues

  • Description: licenses do not "stick", issues after upgrading to WordPress 3, and others
  • Cause: Due to some major changes in the way WordPress 3 handles plugin upgrades, the PluginBuddy licensing system is affected.
  • Solution: In order to resolve this, you need to make sure that ALL PluginBuddy plugins that you have purchased and installed are updated to the LATEST version. Updating using the plugins panel is not possible, for the reasons mentioned before. Even if only one plugin is outdated, it will affect all the other plugins. This includes plugins that come free with your purchase of Flexx or Builder
    So you should:
      • De-activate ALL PluginBuddy plugins
      • Download the latest versions of the plugins from your members area.
      • Upload these to your server, either (recommended) using the Easy Theme and Plugin updater plugin (download link), which will create a backup of the existing plugin - just in case -
        or using FTP (in which case you need to unzip the plugins first) and then upload the entire plugin folder with contents to the wp-content/plugins/ folder. Note, REMOVE the old versions of the plugin first, or RENAME the existing plugin folder.
      • Then re-activate the PluginBuddy plugins, and request a new license using the general plugin page.
  • Further Discussion: HERE
Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox