Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Creating Custom Theme

Diana Galligan
Jun 22, 2018 10:43AM PDT
Hello,

I'm trying to create a custom theme with TubePress - I've purchased it and installed it. All the default themes work and I've added galleries. I want to creat a custom theme, but the new theme I made does not show up. I've downloaded the starter.zip, installed it on the server and updated the theme.json file. But no avail.

Maybe it's related to me having to update the wp-content directory to a custom name? My hosting company required it.

Any suggestions?

My site is here:
http://www.peppermillmedia.com

Thanks!
Diana
Elisabeth T.  STAFF
Jun 22, 2018 03:21PM PDT

Hi Diana,


Thanks for getting in touch. It looks like there are “curly quotes” inside your theme’s manifest (public_html/peppermicontent/plugins/tubepress_pro_5_1_5/web/themes/peppermill/theme.json). If you look here 1, you’ll see that the quotes for “name” are straight, and the quotes for “peppermill/mytheme” are curly. You’ll want to replace all the curly quotes with straight quotes. You’ll know that you’re in good shape once you can run the contents of your manifest through this validator 2 and it comes back without errors.


Give that a try and let us know? We are working on the next version of TubePress which will provide a much more user-friendly interface for customizing your theme. In the meantime, let us know if there is anything else we can do to assist and thanks for using TubePress!


1 http://www.peppermillmedia.com/peppermicontent/plugins/tubepress_pro_5_1_5/web/themes/peppermill/theme.json


2 https://jsonlint.com/

Diana Galligan
Jun 25, 2018 12:53PM PDT
Thanks - that was helpful. I have fixed the quotes, but I'm validating this URL on jsonlint.com
http://www.peppermillmedia.com/peppermicontent/plugins/tubepress_pro_5_1_5/web/themes/peppermill/theme.json

And getting this error:

URL returned bad status code 403


One strange thing on the install (maybe unrelated) is that the main TubePress themes are here:
http://www.peppermillmedia.com/peppermicontent/plugins/tubepress_pro_5_1_5/web/themes/

But the install put the starter folder here:
http://www.peppermillmedia.com/peppermicontent/tubepress-content/themes

I manually moved it over to where the other themes were and corrected the theme.json file from there.

Any more help you can give is appreciated!





Elisabeth T.  STAFF
Jun 25, 2018 02:09PM PDT

Your corrected theme.json (/peppermicontent/plugins/tubepress_pro_5_1_5/web/themes/peppermill/theme.json) looks great and was parsed by TubePress without errors. Here’s what we’d recommend next:


1. Move that directory (/peppermicontent/plugins/tubepress_pro_5_1_5/web/themes/peppermill) back to /peppermicontent/tubepress-content/themes. (Keeping your theme in the TubePress Content Directory prevents your work from getting lost when you upgrade 1 TubePress, so this is highly recommended.)


2. Clear the system cache once by visiting http://www.peppermillmedia.com/?tubepress_clear_system_cache=true.


3. At this point, you should be able to activate your theme from WP Admin > Settings > TubePress > Theme.


However, if your theme is still not showing up after completing these steps, would you be able and willing to share WP login credentials with us so that we can take a closer look? If so, please submit those details in a private ticket 2 and we’ll continue investigating.


1 http://support.tubepress.com/customer/portal/articles/2278860-enable-automatic-plugin-updates


2 http://tubepress.com/contact/

This question has received the maximum number of answers.

c65861bf7a72e1a8878bdf73cabbbdbf@tubepress.desk-mail.com
http://assets1.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete