Upgrading from Perth to Perth Pro


#1

Hi,

I installed the Customizer Export/Import plugin to help me migrate from Perth to Perth Pro, but I’m not exactly sure how to proceed since I use a Perth Child Theme.

My current active theme is the Perth Child Theme and I have both Perth and Perth Pro installed (but of course not active).

To switch to Perth Pro, I suppose I only need to reference it in the Child Theme instead of Perth. Is that it?


#2

What theme was initially active? Please check your child theme’s style.css heading which typically look like this.


/*
Theme Name: Perth
Theme URI: http://athemes.com/theme/perth
Author: aThemes
Author URI: http://athemes.com
Description: Perth is a business theme suitable for both companies and freelancers. Easily create an strong online presence by taking advantage of the many construction blocks available in Perth, like services, employees, skill, social and much more. Also, Perth provides an extensive set of options, including color and font control.
Version: 1.08
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: perth
Tags: light, two-columns, right-sidebar, fluid-layout, responsive-layout, custom-colors, custom-background, custom-header, custom-menu, featured-images, sticky-post, theme-options, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Perth is based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc.

*/

What is the Template line value?

Regards,
Kharis


#3

Hi Kharis, sorry for the slow reply. I have been busy with other things but now I’ll be able to follow through with thsi project of upgrading to Perth Pro. Please bear in mind that when I installed the Perth Child Theme over a year ago I blindly followed instruction without a thorough understanding of what I was doing.

Perth Pro is installed but not active.
Perth Child theme is currently active and this is the CSS heading :

/* Theme Name: Perth Child Theme Theme URI: http://www.agencevitriol.com/ Description: A Perth child theme Author: Agence Vitriol Author URI: http://www.agencevitriol.com/ Template: perth Version: 1.0.0 */

@import url("…/perth/style.css");

Earlier this summer, I read somewhere on this forum that the @import_url is method not recommended anymore, so I think that I should fix this too while I’m upgrading to Perth Pro.

Thanks!


#4

Hello there,

As you’re using Perth Pro, the Template value must be perth-pro-ii, which is the folder name.


/*
Theme Name: Perth Child Theme
Theme URI: http://www.agencevitriol.com/
Description: A Perth child theme
Author: Agence Vitriol
Author URI: http://www.agencevitriol.com/
Template: perth-pro-ii
Version: 1.0.0
*/

To properly include the parent theme’s main stylesheets, you should use this function instead.


add_action( 'wp_enqueue_scripts', 'my_child_theme_enqueue_styles' );
function my_child_theme_enqueue_styles() {
    wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );

}

Add it to your child theme’s functions.php file.

Please refer to this codex.

Regards,
Kharis


#5

Thanks Kharis,

everything worked fine.

I believe the only thing missing is the Timeline widget and single post/page option mentioned here :

http://docs.athemes.com/article/163-new-features-in-perth-pro

Will I lose/modify my current settings if I import that settings file?


#6

Another question :

after switching the reference to Perth Pro I activated WooCommerce and I get a message saying my theme does not support WooCommerce. I purchased Perth Pro specifically because it is supposed to provide WooCommerce integration, so I’m a little baffled.

Is there some step I have missed to get the integration to work?

Thanks!


#7

Hello there,

What version of Perth Pro are you running?

Regards,
Kharis


#8

The package I downloaded is called Perth-Pro-ii.

Is that the info you were asking for?


#9

To check the theme’s version click on the theme image and the info box will be displayed. You’ll see the version number after the theme name.

Regards,
Kharis


#10

Ah, I see!

It says Version 1.23


#11

Hello there,

That’s the latest version and shouldn’t have any problem with WooCommerce. I need to inspect what’s causing the trouble directly from your site admin area. Please grant me to access your site admin area. For security reason, share the admin login credentials to kharisblank@gmail.com. Mention the link to this topic to indicate your coming.

Regards,
Kharis


#12

Hi Kharis,

I am working again on Perth Pro and I have a few issues :

1 - I still can’t find the Timeline Widget even though I imported the settings file as explained above.

2 - I am not able to create a page with no header even if I chose the No header image template.

I am wondering if Perth Pro is installed correctly.

I can email you my login info so you can check.

Thanks


#13

Actually Timeline seems to work now.

I still have an issue creating a page with no header.

The page https://www.agencevitriol.com/test/ uses the “No Header Wide” template but it shows the header and isn’t wide.

Am I missing something?