Buddy

Contents

1. I cannot access the drop down menu links on Android devices?

2. What SEO plugin do you recommend?

3. How I do I disable the WordPress Admin Bar for users?

4. How do I insert advertisements on my site?

5. My page(s) look weird?

6. How do I resize Google ads on my site?

7. I cannot see any related posts?

8. How do I allow users to register to my site?

9. How do I display related posts based on categories instead of tags?

10. How do I centre the logo and/or navigation?

11. I do not receive emails from the contact form?

12. I get a Page Not Found error when I click on links?

13. How do I change the size of the videos in the lightbox?

14. How do I remove the comments section from pages?

15. Can I display different widgets on different categories?

16. How do I fix the header at the top of the page?

17. I cannot see the icons on my site?

18. Why do I not see the featured images on my site?

19. It says the theme is broken or missing a style sheet?

20. How do users add avatars (images) to their profiles?

21. How do I remove the latest activity update in the profile header?

22. How can I make the slider transition automatically?

23. How do I find my ThemeForest Item Purchase Code?

24. Why am I not receiving emails?

25. Increasing WordPress Upload Limit

26. Increasing Post Maximum Size

27. How do I show the back to top button on mobile/tablet devices?

28. CDN images are not working on my site?

29. How do I add a BuddyPress cover image?

30. How do I change the widget header background color?

31. I would like a refund?

32. Creating BuddyPress Profile Menus

33. Adding Google Webfonts

34. How do I remove specific entries from activity stream?

35. How do I set up the bbPress forum like the demo?

36. How do I modify the BuddyPress registration fields/template?

37. I can't login because it says "Incorrect Captcha"?

38. How do I modify X and Y on my BuddyPress pages?

39. My site is running slow, what can I do?

40. Why do I have so many different versions of the same image on my server?

41. I can see shortcodes in my excerpts - how do I use custom excerpts?

42. I can't update the theme - it says update failed?

43. Increasing Maximum Input Vars

44. Increasing PHP Maximum Execution Time

45. How do I show inactive members in my BuddyPress members directory?

46. How do I add a Favicon to my site?

47. Increasing PHP Memory Limit

48. How do I create BuddyPress groups?

49. I cannot import the demo data

50. I can't see the BuddyPress/bbPress pages?

51. Updating your PHP version

52. Editing the BuddyPress profile tabs

53. Enabling the "BuddyPress Legacy" Template Pack

54. How to add custom fields

55. Finding the cause of your issue(s)

56. How to install the default Twenty-Twenty * themes?

57. "The link you followed has expired. Please try again." error

58. Limit the number of cores using MAGICK_THREAD_LIMIT

59. My BuddyPress widgets have disappeared?

60. How do I add/edit the favicon?

61. After updating BuddyPress my website won't load or I get a fatal error?

62. BuddyPress members and groups have not been imported?

1. I cannot access the drop down menu links on Android devices?

By default Android will redirect to the top level menu item link URL as soon as it is tapped. To display a submenu, users must tap, and without lifting their finger slide off of the menu item.

2. What SEO plugin do you recommend?

All my themes work well with "Yoast SEO" WordPress plugin: https://wordpress.org/plugins/wordpress-seo/

3. How I do I disable the WordPress Admin Bar for users?

WordPress is adding the admin bar to your website, not the theme. You can use the following plugin to disable the admin bar: https://en-gb.wordpress.org/plugins/hide-admin-bar/

If you're using BuddyPress go to Settings > BuddyPress > Options and disable the Toolbar option.

4. How do I insert advertisements on my site?

To insert advertisements in the header and footer go to the Theme Options page of your theme and locate the header and footer content options (not available on all themes).

To insert advertisements in your sidebar go to Appearance > Widgets and add your ad or image code into the Text Widget.

To insert advertisements within the page content go to Appearance > Sidebars Editor and insert your ad or image code into the Raw JS Visual Composer element (not available on all themes).

You can also use a variety of ad plugins to insert advertisements within your posts/page. The plugin "Wp-Insert" has been tested with this theme.


5. My page(s) look weird?

This is probably because you have:

<code></code>

Or:

<pre></pre>

tags within your page text boxes. Edit your pages, switch to the Text/HTML tab and remove all occurrences of these tags.

6. How do I resize Google ads on my site?

Visit the following site which explains how to make your Google ads responsive: http://www.labnol.org/internet/google-adsense-responsive-design/25252

7. I cannot see any related posts?

Related posts are only displayed if posts have one or more of the same post tags as the post you are viewing. To add post tags to posts, on the right-hand side of the post add your tags from the "Tags" panel.

8. How do I allow users to register to my site?

This is a general WordPress option that can be found under Settings -> General -> Anyone can register.

If you're using BuddyPress the register page should have been created automatically. If it has not, create a new page called "Register" and publish it. Now go to Settings -> BuddyPress -> Pages and select this page from the Registration dropdown menu. Now you can link to this page in your menus from Appearance > Menus.

9. How do I display related posts based on categories instead of tags?

In your child theme's functions.php file add:

function ghostpool_related_posts_by_cats( $tags, $cats ) {
    return $cats;
}
add_filter( 'ghostpool_related_posts_type', 'ghostpool_related_posts_by_cats', 10, 2 );

10. How do I centre the logo and/or navigation?

Go to Theme Options > CSS Settings and add:

#header {
text-align: center;
}

#logo {
float: none;
}

#nav {
float: none;
position: static;
display: inline-block;
margin-top: 30px;
text-align: left;
}

#bp-buttons {
position: absolute;
top: 20px;
right: 20px;
width: auto !important;
}

 

11. I do not receive emails from the contact form?

The are several reasons why you may not be receiving the emails: 1. Your emails are being sent to your spam/junk mail folder 2. You have entered the wrong email address in the contact form shortcode 3. Your web host does not allow you to send emails from the same address your are receiving the emails to 4. Your web host does not support PHPMail, you will need to contact them about this or switch hosts (I recommend DreamHosts) 5. Your web host (in most cases GoDaddy) does not allow contact forms to send emails to certain email providers (e.g. yahoo.com, hotmail.com etc), you will need to contact them about this or switch hosts (I recommend DreamHosts)

12. I get a Page Not Found error when I click on links?

Sometimes your server rewrite rules need flushing. To do this go to Settings -> Permalinks and save the page.

In some cases you may need to change the permalink structure. To do this in the Custom Structure field add the following:

/%category%/%postname%/

Now save the page.

13. How do I change the size of the videos in the lightbox?

You need to add the desired width and height to the video URL. For example for a YouTube video with the URL http://youtu.be/oeuHxC1cF0o you would add the following to the end of the URL &width=500&height=250 to give http://youtu.be/oeuHxC1cF0o&width=500&height=250. This will give you a video with a width of 500px and a height of 250px.

14. How do I remove the comments section from pages?

Go to Pages -> All Pages and edit the desired pages. In the top right corner of the page click the Screen Options button and make sure the Discussion box is checked. Now scroll down the page and locate the discussion panel and uncheck the Allow comments box.

15. Can I display different widgets on different categories?

Yes you can do this using the "Display Widgets" WordPress plugin, which allows you to specify which posts, pages and/or categories individual widgets are displayed on.

16. How do I fix the header at the top of the page?

Go to Theme Options > CSS Settings and add:

#header {
position: fixed;
width: 1200px;
}

@media only screen and (min-width: 1024px) and (max-width: 1199px) {
	#header {
	width: 1000px;
	}
}

@media only screen and (min-width: 960px) and (max-width: 1023px) {
	#header {
	width: 900px;
	}
}

@media only screen and (min-width: 768px) and (max-width: 959px) {
	#header {
	width: 748px;
	}
}

@media only screen and (max-width: 767px) {
	#header {
	width: 100%;
	}
}

#content-wrapper {
margin-top: 70px;
}

 

17. I cannot see the icons on my site?

This is probably because of a permission issues with the font used to display the icons. Using an FTP client set lib/fonts/ and lib/fonts/fontawesome/ permissions to 755 and the font file permissions to 644.

18. Why do I not see the featured images on my site?

1) Make sure you have selected a featured image for each post/page/slide.

2) Make sure you have not set the image width to 0 or left it empty on the Theme Options pages, Also make sure you've not set it to 0 (it can be left empty) on individual post/pages and shortcodes.

3) Make sure you have an image editor installed on your server such as GD Library or ImageMagick. If you are not sure please ask your web host about this.

4) CDN hosted images are not supported - the images need to be uploaded to the server the site is on.

19. It says the theme is broken or missing a style sheet?

If after installing the theme it says it is broken or the style sheet is missing it's nothing to worry. This is one of the most common errors new users to WordPress experience. To upload the theme correctly do the following:

  1. Go to your ThemeForest Downloads page, locate the theme, click the green Download button and select the Installable WordPress file only option.
  2. Log in to the WordPress Admin Panel.
  3. Go to Appearance > Themes.
  4. Click the Add New button.
  5. Click the Upload Theme button and upload the zip file you just downloaded.

20. How do users add avatars (images) to their profiles?

WordPress uses Gravatar to add avatars (user images). Register a free account at http://gravatar.com, associate it with the email you're using on your WordPress site and upload your avatar image. Now go back to your site and within a short amount of time your avatar will show up in your comments, profile page etc. If you want people to upload an avatar from your own site instead, use a plugin such as "Add Local Avatar".

21. How do I remove the latest activity update in the profile header?

If you're trying to remove the latest activity text from your profile header and it doesn't exist in the activity stream you can manually delete it. In your child theme's functions.php file add the following:

delete_user_meta( $user_id, 'bp_latest_update' );

Where $user_id is the ID of the user you want to delete the text for. In most cases the admin account has a user ID of 1 e.g.

delete_user_meta( 1, 'bp_latest_update' );

Remove the code from functions.php when this has been successfully removed.

22. How can I make the slider transition automatically?

Edit the page containing the slider (probably your homepage) and locate the slider shortcode e.g.

[slider timeout="0" margins="0,0,15,0"]

Change the "timeout" value of 0 to the number of seconds between slide transitions. So for 6 seconds between each slide it would look like this:

[slider timeout="6" margins="0,0,15,0"]

To view all the slider shortcode options see: http://buddywp.wpengine.com/features/shortcodes/#sc-sliders

23. How do I find my ThemeForest Item Purchase Code?

To find your licence key/purchase code you need to log into your ThemeForest account and go to your “Downloads” page.

Locate the relevant theme and click on the Download button and next on the License Certificate & purchase code link in drop-down menu.

After you have downloaded the certificate you can open it in a text editor such as Notepad and copy the Item Purchase Code.


24. Why am I not receiving emails?

This is unlikely to be a theme issue and it is most likely server or plugin related. 

To test this, activate the default Twenty Twenty-One theme (don't worry this won't affect your site content). If the issues still occur this means the theme is not causing the issue. Make sure whatever plugin you're using is set up correctly and that you have no typos in your email address.

If your server does not allow emails to be sent out try using the following plugin: 

https://en-gb.wordpress.org/plugins/wp-mail-smtp/

For BuddyPress emails you will also need to add the following to your functions.php file:

add_filter( 'bp_email_use_wp_mail', '__return_true' );

25. Increasing WordPress Upload Limit

To increase the WordPress Upload Limit do the following:

Step 1: Locate the php.ini file inside the wp-admin directory (if you’re not sure how to do this, ignore the steps below and contact your webhost who can do this for you).

Step 2: Find the following line in your php.ini file:

upload_max_filesize

Step 3: Increase the value to 64MB or higher and save the file.

Step 4: If you still have issues, look for this file in your root directory and make the same changes.

26. Increasing Post Maximum Size

To increase the Post Maximum Size do the following:

Step 1: Locate the php.ini file inside the /wp-admin directory using an FTP client or file manager in your web hosting control panel (if you’re not sure how to do this, ignore the steps below and contact your web host who can do this for you).

Step 2: Find the following line in your php.ini file:

post_max_size

Step 3: Increase the value to 64MB or higher and save the file.

Step 4: If you still have issues, look for this file in your root directory and make the same changes.

27. How do I show the back to top button on mobile/tablet devices?

Go to Theme Options > Styling and in the CSS Code box add :

@media only screen and (max-width: 1023px) {
    .gp-theme #gp-to-top {
    display: block !important;
    opacity: 0.7 !important;
    }
}

28. CDN images are not working on my site?

The theme uses the Aqua Resizer script to resize/crop images to the selected size, this script only accepts images hosted on the same server as the site so CDN images will not work.

In order to support CDN images you will need to disable the cropping functionality. This is not an elegant solution as this will mean the full size images are loaded in all cases but at least your images will be working. To do this copy the following function to your child theme's functions.php file:

Replace "http://cdnurl.com/wp-content/uploads" with your CDN uploads directory.

class Aq_Exception extends Exception {}
class Aq_Resize
{
    /**
     * The singleton instance
     */
    static private $instance = null;
    /**
     * Should an Aq_Exception be thrown on error?
     * If false (default), then the error will just be logged.
     */
    public $throwOnError = false;
    /**
     * No initialization allowed
     */
    private function __construct() {}
    /**
     * No cloning allowed
     */
    private function __clone() {}
    /**
     * For your custom default usage you may want to initialize an Aq_Resize object by yourself and then have own defaults
     */
    static public function getInstance() {
        if(self::$instance == null) {
            self::$instance = new self;
        }
        return self::$instance;
    }
    /**
     * Run, forest.
     */
    public function process( $url, $width = null, $height = null, $crop = null, $single = true, $upscale = false ) {
        try {
            // Validate inputs.
            if (!$url)
                throw new Aq_Exception('$url parameter is required');
            if (!$width && !$height)
                throw new Aq_Exception('$width and $height parameter are required'); // MODIFIED
            // Caipt'n, ready to hook.
            if ( true === $upscale ) add_filter( 'image_resize_dimensions', array($this, 'aq_upscale'), 10, 6 );
            // Define upload path & dir.
            $upload_info = wp_upload_dir();
            $upload_dir = $upload_info['basedir'];
            $upload_url = 'http://cdnurl.com/wp-content/uploads';
            
            $http_prefix = "http://";
            $https_prefix = "https://";
            $relative_prefix = "//"; // The protocol-relative URL
            
            /* if the $url scheme differs from $upload_url scheme, make them match 
               if the schemes differe, images don't show up. */
            if(!strncmp($url,$https_prefix,strlen($https_prefix))){ //if url begins with https:// make $upload_url begin with https:// as well
                $upload_url = str_replace($http_prefix,$https_prefix,$upload_url);
            }
            elseif(!strncmp($url,$http_prefix,strlen($http_prefix))){ //if url begins with http:// make $upload_url begin with http:// as well
                $upload_url = str_replace($https_prefix,$http_prefix,$upload_url);      
            }
            elseif(!strncmp($url,$relative_prefix,strlen($relative_prefix))){ //if url begins with // make $upload_url begin with // as well
                $upload_url = str_replace(array( 0 => "$http_prefix", 1 => "$https_prefix"),$relative_prefix,$upload_url);
            }
            
            // Check if $img_url is local.
            if ( false === strpos( $url, $upload_url ) )
                throw new Aq_Exception('Image must be local: ' . $url);
            // Define path of image.
            $rel_path = str_replace( $upload_url, '', $url );
            $img_path = $upload_dir . $rel_path;
            // Check if img path exists, and is an image indeed.
            if ( ! file_exists( $img_path ) or ! getimagesize( $img_path ) )
                throw new Aq_Exception('Image file does not exist (or is not an image): ' . $img_path);
            // Get image info.
            $info = pathinfo( $img_path );
            $ext = $info['extension'];
            list( $orig_w, $orig_h ) = getimagesize( $img_path );
            // Get image size after cropping.
            $dims = image_resize_dimensions( $orig_w, $orig_h, $width, $height, $crop );
            $dst_w = $dims[4];
            $dst_h = $dims[5];
            // Return the original image only if it exactly fits the needed measures.
            if ( ! $dims && ( ( ( null === $height && $orig_w == $width ) xor ( null === $width && $orig_h == $height ) ) xor ( $height == $orig_h && $width == $orig_w ) ) ) {
                $img_url = $url;
                $dst_w = $orig_w;
                $dst_h = $orig_h;
            } else {
                // Use this to check if cropped image already exists, so we can return that instead.
                $suffix = "{$dst_w}x{$dst_h}";
                $dst_rel_path = str_replace( '.' . $ext, '', $rel_path );
                $destfilename = "{$upload_dir}{$dst_rel_path}-{$suffix}.{$ext}";
                if ( ! $dims || ( true == $crop && false == $upscale && ( $dst_w < $width || $dst_h < $height ) ) ) {
                    // Can't resize, so return false saying that the action to do could not be processed as planned.
                    //throw new Aq_Exception('Unable to resize image because image_resize_dimensions() failed');
                    $img_url = $url; // MODIFIED
                }
                // Else check if cache exists.
                elseif ( file_exists( $destfilename ) && getimagesize( $destfilename ) ) {
                    $img_url = "{$upload_url}{$dst_rel_path}.{$ext}";
                }
                // Else, we resize the image and return the new resized image url.
                else {
                    $editor = wp_get_image_editor( $img_path );
                    if ( is_wp_error( $editor ) || is_wp_error( $editor->resize( $width, $height, $crop ) ) ) {
                        throw new Aq_Exception('Unable to get WP_Image_Editor: ' . 
                                               $editor->get_error_message() . ' (is GD or ImageMagick installed?)');
                    }
                    $resized_file = $editor->save();
                    if ( ! is_wp_error( $resized_file ) ) {
                        $resized_rel_path = str_replace( $upload_dir, '', $resized_file['path'] );
                        $img_url = $upload_url . $resized_rel_path;
                    } else {
                        throw new Aq_Exception('Unable to save resized image file: ' . $editor->get_error_message());
                    }
                }
            }
            // Okay, leave the ship.
            if ( true === $upscale ) remove_filter( 'image_resize_dimensions', array( $this, 'aq_upscale' ) );
            // Return the output.
            if ( $single ) {
                // str return.
                $image = $url;
            } else {
                // array return.
                $image = array (
                    0 => $url,
                    1 => $dst_w,
                    2 => $dst_h
                );
            }
            return $image;
        }
        catch (Aq_Exception $ex) {
            error_log('Aq_Resize.process() error: ' . $ex->getMessage());
            if ($this->throwOnError) {
                // Bubble up exception.
                throw $ex;
            }
            else {
                // Return false, so that this patch is backwards-compatible.
                return false;
            }
        }
    }
    /**
     * Callback to overwrite WP computing of thumbnail measures
     */
    function aq_upscale( $default, $orig_w, $orig_h, $dest_w, $dest_h, $crop ) {
        if ( ! $crop ) return null; // Let the wordpress default function handle this.
        // Here is the point we allow to use larger image size than the original one.
        $aspect_ratio = $orig_w / $orig_h;
        $new_w = $dest_w;
        $new_h = $dest_h;
        if ( ! $new_w ) {
            $new_w = intval( $new_h * $aspect_ratio );
        }
        if ( ! $new_h ) {
            $new_h = intval( $new_w / $aspect_ratio );
        }
        $size_ratio = max( $new_w / $orig_w, $new_h / $orig_h );
        $crop_w = round( $new_w / $size_ratio );
        $crop_h = round( $new_h / $size_ratio );
        $s_x = floor( ( $orig_w - $crop_w ) / 2 );
        $s_y = floor( ( $orig_h - $crop_h ) / 2 );
        return array( 0, 0, (int) $s_x, (int) $s_y, (int) $new_w, (int) $new_h, (int) $crop_w, (int) $crop_h );
    }
}

29. How do I add a BuddyPress cover image?

Go to Settings > BuddyPress, click the Options tab and make sure Allow registered members to upload cover images is checked. Now go to your BuddyPress profile page, by clicking your username anywhere on the site and click Change Cover Image link.

30. How do I change the widget header background color?

Go to Theme Options -> CSS and in the CSS Code box add:

.widget .widgettitle {
background-color: #000;
color: #fff;
margin-top: -20px;
padding-top: 15px;
border-radius: 4px 4px 0px 0px;
}

Replace #000 with the colour code you want to use.

31. I would like a refund?

Before requesting a refund

If you're having any issues with a theme you've just purchased this can be incredibly frustrating, however in most cases the issues can be quickly resolved.

How to request a refund

If you have not yet downloaded the theme you can request a refund, no questions asked, from: https://themeforest.net/refund_requests/new

If you have downloaded the theme this means you now have a copy of the theme and will only be eligible for a refund if it meets one or more of the following criteria:

Refund process

Before I can issue a refund I need to determine that the theme is causing your issues (in most refund request cases, it turns out not to be).

To do this please open a support ticket at https://ghostpool.ticksy.com and describe your problems in as much detail as possible, providing any error messages you receive and the steps to replicate the problem.

If it does turn out to be a theme issue and I cannot fix it, you will be issued with a full refund.

Why a refund will not given

You will not receive a refund in the following situations:



32. Creating BuddyPress Profile Menus

Step 1: Go to Appearance > Menus and create or edit an existing menu.

Step 2: Click the Screen Options tab in the top right corner of the page and make sure the BuddyPress Member option is checked.

Step 3: Now scroll down the page and you will see a BuddyPress tab where you can add BuddyPress profile links to your selected menu.

33. Adding Google Webfonts

1) In your child theme's functions.php file add:

function ghostpool_google_webfonts() {
    echo '';
}
add_action( 'wp_head', 'ghostpool_google_webfonts' );

Make sure you activate the child theme to load this code.

2) Go to Google Web Fonts website, select the font you want to use and copy the "Standard" code provided e.g.

<link href="https://fonts.googleapis.com/css?family=Roboto&display=swap" rel="stylesheet">

3) Add this to your code above e.g.

function ghostpool_google_webfonts() {
    echo '<link href="https://fonts.googleapis.com/css?family=Roboto&display=swap" rel="stylesheet">';
}
add_action( 'wp_head', 'ghostpool_google_webfonts' );

4) Now go to Appearance > Theme Options > Styling and add the name of the font in one of the Font text fields.

34. How do I remove specific entries from activity stream?

If you want to exclude certain activity entries from your activity stream add the following to your child theme's functions.php file:

function ghostpool_activity_dont_save( $activity_object ) {
    $exclude = array(
        'new_avatar',
        'new_member',
        'friendship_accepted',
        'friendship_created',
        'joined_group',
        'new_blog_comment',
        'bbp_topic_create',
        'bbp_reply_create',
    );
    if ( in_array( $activity_object->type, $exclude ) ) {
        $activity_object->type = false;
    }
    
}
add_action( 'bp_activity_before_save', 'ghostpool_activity_dont_save', 10, 1 );

You can change the type of entries you want to remove from the activity stream by editing the $exclude list.

35. How do I set up the bbPress forum like the demo?

The forums seen in the demo site are created using the bbPress plugin. Please install and activate this plugin from Plugins > Add New and search for "bbpress".

Once you've activated the plugin your forums should be located at http://my-domain.com/forums

To set up the forum layout seen in the theme demo you need to create category parents for each group of forums. For example on the demo forum (https://aardvark.ghostpool.com/original/forums/), "Forum Category 1" is a forum category and it has three child forums called "Forum 1", "Forum 2" and "Forum 3".

Go to Forums > New Forum to create a header and on the right hand side select "Category" from the Type dropdown menu.

To create a forum under this header go to Forums > New Forum and on the right hand side select "Forum" from the Type dropdown menu.

This is how the final setup should look:




36. How do I modify the BuddyPress registration fields/template?

Modifying Registration Fields:

BuddyPress provide documentation on how to modify the registration fields here: https://codex.buddypress.org/getting-started/guides/modifying-the-registration-form/

Modifying Registration Templates:

If you're using BuddyPress, then the registration page is being generated by BuddyPress and not the theme. You can add the following directory within your child theme folder /buddypress/members/register.php to override the default registration template.


37. I can't login because it says "Incorrect Captcha"?

This is because you have activated the Google Captcha plugin but not set it up. If you don't want to use a captcha on the login form, go to Plugins > Installed Plugins and deactivated the Google Captcha plugin. 

If you do want to use this plugin, you'll need to set it up. Go to Google Captcha > Settings and click the Get the API Keys link to generate a site and secret key which you need to add to the plugin.

38. How do I modify X and Y on my BuddyPress pages?

Most BuddyPress page templates can be modified by adding the directory structure and file within your theme folder to override the default styling as explained here: https://codex.buddypress.org/themes/theme-compatibility-1-7/template-hierarchy/

However beyond this since BuddyPress is a third party plugin and is not part of the theme you should contact BuddyPress support at http://buddypress.org/support where they will be able to help you with modifying BuddyPresss templates.

While the theme completely supports BuddyPress, and even has customized BuddyPress elements, support does not cover customisations (click here for the support policy), this both includes customising the theme and third party plugins.

39. My site is running slow, what can I do?

Before blaming the theme there are a number of things that may be causing your site to slow down. 

First ask yourself, does this issue occur when you are using any other theme? If it does, then it's probably a server or plugin issue. If it's a plugin issue, disable all plugins and reactivate them one by one to find which one(s) are causing the slow down. If it's a server problem then you should contact your web host.


If this issue only occurs when using this theme there are a number of things you can do to improve the pagespeed, as follows:

Install a cache

This is an absolute must. If you're not already using a caching plugin and you're complaining about page speed install a caching plugin immediately! I recommend WP Super Cache or W3 Total Cache.

Optimize images

Optimizing your images reduces their file size without losing picture quality. You can either use a program that does this before uploading your images to your server (such as ImageOptim for the Mac) or you can use a WordPress plugin that does this after uploading your images.

Minify JavaScript and CSS files

Minifying your JavaScript and CSS files basically makes these files as small as possible so they load quicker. There are plenty of plugins out there that minify these files, I recommend Better WordPress Minify.

Remove Query Strings from Static Resources

Use the following Remove Query Strings From Static Resources plugin to remove query strings from static resources like CSS & JS files, to improve your speed scores in services like PageSpeed, YSlow, Pingdom and GTmetrix. Resources with a “?” or “&” in the URL are not cached by some proxy caching servers, and moving the query string and encode the parameters into the URL will increase your WordPress site performance.

Use a VPS or dedicated server

If you are hosted on a shared server you should really consider moving to a VPS or dedicated server. A shared server distributes the server resources across many sites leading to a noticeable slow down when sites on the server have a lot of visitors. If your own site is getting a decent number of visitors you should definitely not be using a shared server. With VPS and dedicated servers you have your own server resources that are not used by any other sites.

Use a CDN to load media, CSS and JavaScript files

A Content Delivery Network (CDN) works by providing alternative server nodes for users to download your files. These nodes are spread throughout the world, therefore being geographically closer to your users, ensuring a faster response and download time of content due to reduced latency. Some of the most popular CDNs are Amazon S3, Microsoft Windows Azure and MaxCDN.

For Gauge users also check out the following video from a fellow buyer:



If you're hosted on a VPS/dedicated server, installed a cache, optimized your images and minified your files and still experience page speed issues then I will need some more information from you in order to determine the cause of this issue.

1) Run your site through http://tools.pingdom.com/ and provide me with the link to the results page.

2) Provide me with WordPress admin access (URL, username and password).

40. Why do I have so many different versions of the same image on my server?

If you look in your uploads folder and see different versions of the same image this is perfectly normal. The theme crops each image to different sizes because these sizes are used in various places on your website. So you may have the same image shown as a 50 x 50 thumbnail and as a large featured image at 800 x 400. The theme will create two additional versions of these images at these dimensions.

This is much more effective than just creating a few different sizes of an image (thumbnail, medium, large), like some themes do, and then resizing them using HTML. If you were to resize a large image with HTML, the large image is still being loaded and then constrained with HTML, which uses more bandwidth and increases your page load time, which in turn is not very SEO friendly. What the theme does is only load the images at the exact size they need to be.

The theme does not currently delete versions of the images no longer in use. So if you change the featured image on your posts from 800 x 400 to 500 x 300 and then to 400 x 600 all of these images will be created but the images no longer used (800 x 400 and 500 x 300) will not be deleted from your server. This is something I hope to add in the future.

You can just leave these images on your server and ignore them because they are not being loaded on your site so they have no impact on your bandwidth or pageload, these just contribute to a bit of disk space.

However you can delete all the resized images in your uploads folders and the server will then only recreate the different image sizes that currently exist on your site. Before doing this first make a backup of your uploads folder and do not delete the original images, only the resized versions that have the extensions -widthxheight.png!

41. I can see shortcodes in my excerpts - how do I use custom excerpts?

Excerpts do not support shortcodes or HTML, they just display unformatted text. By default excerpts will strip all the HTML tags but you'll see raw shortcodes so you'll need to use custom excerpts to remove these. To do this edit the desired post or page, click the Screen Options button in the top right corner and check Excerpt. Now scroll down to Excerpt panel to add your custom excerpt.

42. I can't update the theme - it says update failed?

You must now use the Envato Market WordPress plugin to update the theme. When you do, sometimes you may see an update failed message. To fix this try the following:

1) Firstly, try clicking the update link again, sometimes it doesn't work first time around.

2) If this doesn't work, activate another theme so this theme becomes deactivated and then try updating the theme.

2) If this doesn't work, check your token has the correct permissions by going to Envato Market > Settings and clicking the Test API Connection button. If you get an error, create a new token. 

3 If it still doesn't work it's possible Envato's API is down and you will need to try again later.

4) If things still don't work, don't worry, just download the theme update your ThemeForest Downloads page, locate the theme, click the green Download button and select the Installable WordPress file only option. Now go to Appearance > Themes and activate another theme so you can deactivate and delete this theme. Finally click the Add New and upload the zip file you just downloaded and activate the theme.

43. Increasing Maximum Input Vars

Maximum input vars limit the number of input variables which affect menus and theme options in the Aardvark theme. To increase the Maximum input vars do the following:

Method 1: Increasing Max Input Vars In .htaccess File

Step 1: Locate the .htaccess file inside the root of your WordPress installation (located in the same folder as your /wp-content/ and /wp-admin/ directories) using an FTP client or file manager in your web hosting control panel (if you can’t find it see why you can’t find the .htaccess file and how to find it or if you’re not sure how to do this, ignore the steps below and contact your web host who can do this for you).

Step 2: Paste this code in .htaccess file:

php_value max_input_vars 1000
php_value suhosin.get.max_vars 1000
php_value suhosin.post.max_vars 1000
php_value suhosin.request.max_vars 1000

Step 3: Now save the file.

Method 2: Increasing Max Input Vars In php.ini File

Step 1: Locate the php.ini file inside the /wp-admin directory using an FTP client or file manager in your web hosting control panel (if you’re not sure how to do this, ignore the steps below and contact your web host who can do this for you).

Step 2: Paste this code in  your .php.ini file:

max_input_vars = 1000
suhosin.get.max_vars = 1000
suhosin.post.max_vars = 1000
suhosin.request.max_vars = 1000

Step 3: Now save the file.

Step 4: If you still have issues, look for this file in your root directory and make the same changes.

44. Increasing PHP Maximum Execution Time

To increase the PHP Maximum Execution Time do the following:

Method 1: Editing .htaccess File Manually

Step 1: Locate the .htaccess file inside the root of your WordPress installation (located in the same folder as your /wp-content/ and /wp-admin/ directories) using an FTP client or file manager in your web hosting control panel (if you can’t find it see why you can’t find the .htaccess file and how to find it or if you’re not sure how to do this, ignore the steps below and contact your web host who can do this for you).

Step 2: Paste this code in your .htaccess file:

php_value max_execution_time 180

Step 3: Now save the file.

Note: If you still get the error, try increasing the value to 600.

Method 2: Using A Plugin

Step 1: If you're not able to edit .htaccess file manually, then you can install and activate the WP Maximum Execution Time Exceeded plugin. That’s all. The plugin works out of the box and increases the maximum execution time to 300 seconds.

45. How do I show inactive members in my BuddyPress members directory?

For current members:

BuddyPress will only show users in the members directory if they have  logged into to their account. You can get around this and activate all user accounts by installing and activating the Retroactive BP User Activity plugin.

If this doesn't work add the following to your child theme functions.php file:

update_metadata( 'user', '', 'last_activity', date( 'Y-m-d H:i:s' ) );

Remove this code once it has updated the last activity date for all members (when all members are shown on your members page).

For new members that register:

To automatically update new members in the members directory add the following to your child theme functions.php file:

function ghostpool_show_all_bp_members( $user_id ) {
    add_user_meta( $user_id, 'last_activity', date( 'Y-m-d H:i:s' ) );
}
add_action( 'bp_core_activated_user', 'ghostpool_show_all_bp_members' );


46. How do I add a Favicon to my site?

This is controlled by WordPress, not the theme. Go to Appearance > Customize > Site Identity > Site Icon.

47. Increasing PHP Memory Limit

To increase the PHP Memory Limit do the following:

Method 1: Increasing Memory Limit In wp-config.php File

Step 1: Locate the wp-config.php file inside the root of your WordPress installation (located in the same folder as your /wp-content/ and /wp-admin/ directories) using an FTP client or file manager in your web hosting control panel (if you’re not sure how to do this, ignore the steps below and contact your web host who can do this for you).

Step 2: Paste this code in your wp-config.php file just before the line that says “That’s all, stop editing! Happy blogging.”:

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

Step 3: Now save the file.

Note: If this solution does not work then this means your web hosting service provider does not allow WordPress to increase PHP memory limit. You will need to ask your web host to increase this limit for you.


Method 2: Increasing Memory Limit In php.in File

Step 1: Locate the php.ini file inside the /wp-admin directory using an FTP client or file manager in your web hosting control panel (if you’re not sure how to do this, ignore the steps below and contact your web host who can do this for you).

Step 2: Paste this code in  your .php.ini file:

memory_limit 256MB;

Method 3: Increasing Memory Limit In .htaccess File

Step 1: Locate the .htaccess file inside the root of your WordPress installation (located in the same folder as your /wp-content/ and /wp-admin/ directories) using an FTP client or file manager in your web hosting control panel (if you can’t find it see why you can’t find the .htaccess file and how to find it or if you’re not sure how to do this, ignore the steps below and contact your web host who can do this for you).

Step 2: Paste this code in your .htaccess file:

php_value memory_limit 256M

Step 3: Now save the file.

Note: If you encounter any errors while trying to set the memory limit using these two methods then it means your hosting provider has locked this setting and you will have to contact them to increase this limit.


48. How do I create BuddyPress groups?

I'm not sure why I get this question so often as creating groups has nothing to do with the theme, it's part of the BuddyPress plugin. However since I'm always asked please check the following:

1) Go to Settings > BuddyPress and under the Components tab make sure User Groups is enabled.

2) Go to Settings > BuddyPress and under the Pages tab make sure a page is selected from the User Groups drop down menu.

3) To add a link to this page go to Appearance > Menus and add this page to one of your menus.

4) If you can't create user groups from the frontend, go to Settings > BuddyPress and under the Settings tab enable Group Creation if you want to allow all users to create groups. If you still can't create groups deactivate all plugins (except BuddyPress) to see if this resolves the issue. If it does, reactivate the plugins one by one to fix the problem plugin.

If no plugin is causing the issue activate the Twenty Seventeen theme, if this doesn't resolve the issue, the theme is not causing this problem and you will need to contact BuddyPress support who will be able help you.


49. I cannot import the demo data

If you cannot import the demo data because it never completes the import process or you receive an error it could be because one of the following reasons:

Recommended PHP Configuration Limits

If the import never completes or you receive an error your PHP configuration limits may be set too low. You should contact your webhost and ask them to increase the following:

You can verify your PHP configuration limits by installing a simple plugin found here.

Manually Import Demo Content

If you still can't import the demo data you can try to manually import the demo content without images. Go to Tools > Import and select the WordPress Importer. Click the "Choose File" button and select the demo file from theme-name/framework/importer/demo-files/content.xml. Now click "Upload file and import". Choose to assign all posts to an existing user and make sure the "Download and import file attachments" is not checked. This means the demo file will not import any images, so you will need to add these to the imported posts and pages manually. Now click Submit.

To import the widgets go to Plugins > Add New and search for "Widget Importer & Exporter" and install and activate the first plugin. Now go to Tools > Widget Importer & Exporter and click the "Choose File" button and select the widget file from theme-name/framework/importer/demo-files/widgets.json. Rename this file to widgets.wie and then click "Import Widgets".

50. I can't see the BuddyPress/bbPress pages?

1) Please ensure you have installed and activated the BuddyPress and bbPress plugins.

2) Go to Settings -> BuddyPress and click the Components tabs and enable "User Groups" and any other features you want to use.

3) Next click the Pages tab and ensure that each dropdown menu has a page selected - if a dropdown menu is empty either create a new page or select an existing page. You do not need to add anything to pages - just leave them empty.

4) If you imported the demo data the links to the BuddyPress pages may need to be edited. Go to Appearance > Menus, find the menu with the BuddyPress links and delete them and replace them with the correct pages.

51. Updating your PHP version

The theme requires at least PHP 7.3 or above because this is what WordPress itself recommends.

Updating Your PHP Version

In most cases you cannot update the PHP version yourself and need to contact your host about this. The upgrade process is easy and should be something your host can do for you without impacting your website or charging you a fee. Here's an email you can send to your hosting company:

Dear host,

I'm running a site on one of your servers and WordPress has listed PHP 7.2 as the recommended version on their requirements page: https://wordpress.org/about/requirements/

Can you please let me know if my hosting supports PHP 7.2 or higher and how I can upgrade?

Looking forward to your reply.

VPS Server

If you have a VPS server, see How to upgrade from PHP 5.

My Host Doesn't Support PHP 5.6

If your host doesn't support PHP 5.6 or higher, you will need to find a host that does. We recommend DreamHost which supports PHP 5.6 or higher. If you contact another host, be sure to ask them which PHP version your website will run on before purchasing.

52. Editing the BuddyPress profile tabs

Please see:

https://rtmedia.io/docs/developers/add-remove-buddypress-tabs/

53. Enabling the "BuddyPress Legacy" Template Pack

This theme requires that you enable the BuddyPress Legacy template pack. To do this go to Settings > BuddyPress > Options and from the Template Pack dropdown menu select "BuddyPress Legacy" and click Save Settings.

54. How to add custom fields

There are two ways to add custom fields depending on if you're using the Gutenberg Editor or Classic Editor.

If the fields are hidden use the Show Hidden Post Meta plugin to show hidden fields.

Gutenberg Editor

  1. Edit or create a new post and click Options button in the top right corner. 
  2. Select Preferences from the dropdown menu to open the Preferences window.
  3. Click the Panels tab and then enable the Custom fields option - reload the page when asked to.
  1. Once the page is reloaded scroll down to the bottom of the page where you will see a new Custom Fields panel.
  2. Click the Enter New link and then give your custom field a name and the value you want to display.
  3. Finally click the Add Custom Field button.



Classic Editor

  1. Edit or create a new post and click Screen Options button in the top right corner. 
  2. Check the Custom Fields option.
  1. Scroll down to the bottom of the page where you will see a new Custom Fields panel.
  2. Click the Enter new link and then give your custom field a name and the value you want to display.
  3. Finally click the Add Custom Field button.


55. Finding the cause of your issue(s)

To find the cause of the issue(s) please do the following:

1. Update The Theme/Plugins

Ensure you using the latest version of the theme and required plugins. We will not look at any issues if you haven’t updated these. To update the theme and required plugins please refer to the theme documentation.

2. Switch Themes

If updating the theme/plugins didn't fix the issue go to Appearance > Themes and activate the Twenty Twenty-One theme and see if the issue(s) still occur.  If your site has visitors you can use the Theme Test Drive plugin so your users don’t see the theme you’ve switched to.

If the issue(s) still occur this means the theme is not causing the issue and this is probably a general WordPress or plugin issue.

3. Deactivate All Plugins

To see if it is a plugin issue deactivate all activated plugins (except the plugins that are needed to test the issues). If this fixes the issue(s) this means the theme is not the cause. Reactivate the plugins one by one or in groups so you can identify which plugins are responsible.

4. If the theme is responsible

If the issue only occurs when this theme is activated it looks like the theme is responsible. Please provide WordPress admin access and I'll take a closer look.

56. How to install the default Twenty-Twenty * themes?

You may want to install the default WordPress theme in order to see if an issue still occurs when switching themes. 

To install the default WordPress theme do the following:

  1. Go to the "Appearance" section on the left-hand side menu, and then click on "Themes". This will take you to the themes management page.
  2. At the top of the themes page, you'll see an option called "Add New". Click on it.
  3. In the "Add Themes" page, you'll see a search bar on the right - search for "Twenty Twenty Four".
  4. Hover over the theme and you'll see an "Install" button. Click on it to begin the installation process.
  5. After the installation is complete, you'll see an "Activate" button. Click on it to activate the theme on your WordPress site.

57. "The link you followed has expired. Please try again." error

You are seeing this error because the theme is too big to be uploaded to your site. This is because your web host has set one of the following too low:

- PHP Memory Limit (should be 256MB or higher)

- Post Maximum Size (should be 64MB or higher)

- WordPress Upload Limit (should be 64MB or higher)

Follow the links for how to increase each of these values.

Alternatively you can upload the theme through an FTP client or file manager in your cPanel. To set up an FTP client refer to the WordPress documentation on this http://codex.wordpress.org/FTP_Clients.

Once you have set up your FTP client upload the aardvark theme folder to /wp-content/themes/ directory on your server.


58. Limit the number of cores using MAGICK_THREAD_LIMIT

In certain versions of ImageMagick there is a problem when trying to import the demo images and the system becomes extremely slow. This causes the demo importer to never complete. You can use a workaround to fix this as follows:

Access the root of your WordPress installation (located in the same folder as your /wp-content/ and /wp-admin/ directories) using an FTP client or file manager in your web hosting control panel where your .htaccess is located. If you can’t find it, then look at this article on why you can’t find the .htaccess file and how to find it.

Next, add this line to your .htaccess file:

SetEnv MAGICK_THREAD_LIMIT 1

This code limits the number of cores using MAGICK_THREAD_LIMIT which is used when uploading the demo images.

59. My BuddyPress widgets have disappeared?

BuddyPress widgets have been removed from version BuddyPress version 12.0.0 and later.

You can restore these widgets by using the BP Classic plugin. Please note, the widgets will not automatically reappear. You will need to manually readd them to your sidebars from Appearance > Widgets.

60. How do I add/edit the favicon?

This is a core WordPress option and not part of the theme. Go to Appearance > Customize > Site Identity > Site Icon to change the favicon.

61. After updating BuddyPress my website won't load or I get a fatal error?

If after updating to BuddyPress 12.1.1 your website won't load or you're getting a fatal error similar to this:

PHP Fatal error:  Uncaught Error: Call to undefined function bp_core_get_user_domain()

It is likely a conflict with bbPress or another BuddyPress compatible plugin. 

Install the BP Classic plugin to fix this issue.

62. BuddyPress members and groups have not been imported?

The demo importer does not import members and groups. If you want to import these you can use a plugin such as BuddyPress Default Data.