StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
  #1  
Old 05-23-2012, 11:22 PM
caswell caswell is offline
Registered User
Genesis Member
 
Join Date: Mar 2012
Posts: 49
Default I want shortcodes....badly...like ThemeForest.

Are there any shortcodes like some of the ones I'm finding on ThemeForest? That would make my life a whole lot easier.
  #2  
Old 05-24-2012, 05:54 AM
andrea_r's Avatar
andrea_r andrea_r is offline
Forum Manager
 
Join Date: Nov 2009
Location: Eastern Canada
Posts: 36,279
Default

We do not have shortcodes available for the content areas. The reason for this is - when you switch themes they stop working. :)

They should be handled by a plugin, not the theme.
__________________
*****
These forums were CLOSED to new posts on November 19th, 2012. New forums are here: http://www.studiopress.com/forums/ and you will need to SIGN UP AGAIN.

If you need assitance with setting up your theme, go to http://my.studiopress.com/ and read the SETUP links or the TUTORIALS link on the side tab.

If you need Account Assistance, file a help desk ticket at the same location.
  #3  
Old 05-31-2012, 02:16 PM
balletuni balletuni is offline
Registered User
Genesis Member
 
Join Date: May 2012
Posts: 24
Default

I have that issue, actually: I just switched to Genesis from Elegant Themes, which used shortcodes, and now my shortcodes aren't working. What would you recommend I do now?
  #4  
Old 05-31-2012, 02:20 PM
andrea_r's Avatar
andrea_r andrea_r is offline
Forum Manager
 
Join Date: Nov 2009
Location: Eastern Canada
Posts: 36,279
Default

Unless you had switched to another theme that also used the exact same shortcodes, they will have broken as well.

Elegant Themes has custom shortcodes that only work with their themes. This is the huge downside to shortcodes that are not plugin based or built in the WP by default.

You will have to actually edit the post and fix all the shortcodes, depending on what each one did.
__________________
*****
These forums were CLOSED to new posts on November 19th, 2012. New forums are here: http://www.studiopress.com/forums/ and you will need to SIGN UP AGAIN.

If you need assitance with setting up your theme, go to http://my.studiopress.com/ and read the SETUP links or the TUTORIALS link on the side tab.

If you need Account Assistance, file a help desk ticket at the same location.
  #5  
Old 05-31-2012, 04:35 PM
caswell caswell is offline
Registered User
Genesis Member
 
Join Date: Mar 2012
Posts: 49
Default

Andrea -

I am working off the basic child theme that came with the framework. I'm trying to piece all this together...

If I build shortcodes now for my child theme, are you saying they are not going to work when Genesis updates the basic Genesis child theme that I have (or) if I changed themes all together? I don't plan on switching themes.

I want my site to have a lot of the cool stuff that theme forest templates have. It seems like a plugin for shortcodes would be sluggish on code (someone actually told me that today).
  #6  
Old 05-31-2012, 04:55 PM
balletuni balletuni is offline
Registered User
Genesis Member
 
Join Date: May 2012
Posts: 24
Default

Ok, I guess that is what I will have to do! Are there any plugins that you could recommend to replace the shortcodes I used with Elegant Themes? Basically, all I need is something that can style some text for me. Specifically, I frequently highlight certain text in a styled box.

I also have one other related question: Since changing to Genesis, my captions (the ones built into WP) no longer work. Now all I see is the shortcode for the caption (see example below). That shouldn't be happening, should it?

Here's what the captions look like on my site now:
http://balletuni.com/2012/04/new-tes...achers-course/
  #7  
Old 05-31-2012, 05:40 PM
adew adew is offline
Community Moderator
 
Join Date: Oct 2008
Location: Genève, Suisse
Posts: 14,270
Default

Quote:
Originally Posted by caswell View Post
It seems like a plugin for shortcodes would be sluggish on code (someone actually told me that today).
Compared to a shortcode coded into a theme? This is misinformation and completely incorrect. A shortcode is just a wrapper that can be parsed by WP, which then calls a function to do something. Whether the function is in a plugin or in a theme file makes zero difference to performance.

What does make a difference is having a shortcode which is being used in place of a much simpler way of doing something. For example, shortcodes which add inline CSS, or create a div with a class. It is much more efficient to just write the inline CSS than replicate this with a shortcode. I avoid shortcodes like the plague (except in very specific cases) for all the reasons that Andrea has given. I fully understand the attractiveness of shortcodes to users who are not comfortable with code, but they have plenty of drawbacks.
__________________
Ade
Themessence - Studiograsshopper

WordPress plugins: Dynamic Content Gallery | Reveal Page Templates | Custom Taxonomies Menu Widget

Check out the Genesis and Child Theme tutorials before posting your question - and please provide YOUR URL!
Make Andrea happy - read her Firebug tutorial and save yourself loads of time and effort.
  #8  
Old 05-31-2012, 06:06 PM
balletuni balletuni is offline
Registered User
Genesis Member
 
Join Date: May 2012
Posts: 24
Default

That makes sense. Sounds like I don't even need a plugin for my purpose!

Still not sure why my captions aren't working though... Is that a theme-specific issue?
  #9  
Old 05-31-2012, 06:21 PM
andrea_r's Avatar
andrea_r andrea_r is offline
Forum Manager
 
Join Date: Nov 2009
Location: Eastern Canada
Posts: 36,279
Default

Not sure about the captions. they are in WP by default.

What happens if you try adding a new one?
__________________
*****
These forums were CLOSED to new posts on November 19th, 2012. New forums are here: http://www.studiopress.com/forums/ and you will need to SIGN UP AGAIN.

If you need assitance with setting up your theme, go to http://my.studiopress.com/ and read the SETUP links or the TUTORIALS link on the side tab.

If you need Account Assistance, file a help desk ticket at the same location.
  #10  
Old 05-31-2012, 06:38 PM
caswell caswell is offline
Registered User
Genesis Member
 
Join Date: Mar 2012
Posts: 49
Default

What about adding shortcodes to the child theme? Will an upgrade wipe them out?
  #11  
Old 05-31-2012, 06:39 PM
balletuni balletuni is offline
Registered User
Genesis Member
 
Join Date: May 2012
Posts: 24
Default

-
  #12  
Old 05-31-2012, 06:42 PM
balletuni balletuni is offline
Registered User
Genesis Member
 
Join Date: May 2012
Posts: 24
Default

Quote:
Originally Posted by andrea_r View Post
Not sure about the captions. they are in WP by default.

What happens if you try adding a new one?
The same thing happens. I also tried it on my WAMP server with a fresh install of WP and Genesis and no plugins except for studiopress ones, and it does the same thing. Weird, huh?
  #13  
Old 05-31-2012, 06:49 PM
andrea_r's Avatar
andrea_r andrea_r is offline
Forum Manager
 
Join Date: Nov 2009
Location: Eastern Canada
Posts: 36,279
Default

What specific version of WP?
__________________
*****
These forums were CLOSED to new posts on November 19th, 2012. New forums are here: http://www.studiopress.com/forums/ and you will need to SIGN UP AGAIN.

If you need assitance with setting up your theme, go to http://my.studiopress.com/ and read the SETUP links or the TUTORIALS link on the side tab.

If you need Account Assistance, file a help desk ticket at the same location.
  #14  
Old 05-31-2012, 06:54 PM
balletuni balletuni is offline
Registered User
Genesis Member
 
Join Date: May 2012
Posts: 24
Default

Quote:
Originally Posted by andrea_r View Post
What specific version of WP?
Version 3.3.2
  #15  
Old 06-01-2012, 12:29 AM
caswell caswell is offline
Registered User
Genesis Member
 
Join Date: Mar 2012
Posts: 49
Default

Sigh. I'm guessing no, it would not affect it. That's my guess. Bailing.
  #16  
Old 06-01-2012, 03:53 AM
adew adew is offline
Community Moderator
 
Join Date: Oct 2008
Location: Genève, Suisse
Posts: 14,270
Default

Quote:
Originally Posted by caswell View Post
Sigh. I'm guessing no, it would not affect it. That's my guess. Bailing.
Yes, it's a shame that your thread got hijacked a little...

In answer to your question, shortcodes added to your child theme won't be wiped out by a Genesis upgrade. Better still, make the shortcodes plugins and then they are completely separate from your theme.
__________________
Ade
Themessence - Studiograsshopper

WordPress plugins: Dynamic Content Gallery | Reveal Page Templates | Custom Taxonomies Menu Widget

Check out the Genesis and Child Theme tutorials before posting your question - and please provide YOUR URL!
Make Andrea happy - read her Firebug tutorial and save yourself loads of time and effort.
  #17  
Old 06-01-2012, 10:44 AM
balletuni balletuni is offline
Registered User
Genesis Member
 
Join Date: May 2012
Posts: 24
Default

Quote:
Originally Posted by adew View Post
Yes, it's a shame that your thread got hijacked a little...
Sorry, caswell, I didn't mean to hijack your thread. When I started posting, I thought your question had already been answered, and that I had a very similar issue. Good luck to you!!
  #18  
Old 06-01-2012, 12:26 PM
andrea_r's Avatar
andrea_r andrea_r is offline
Forum Manager
 
Join Date: Nov 2009
Location: Eastern Canada
Posts: 36,279
Default

balletuni - can you start a new thread for any lingering issues? :)
__________________
*****
These forums were CLOSED to new posts on November 19th, 2012. New forums are here: http://www.studiopress.com/forums/ and you will need to SIGN UP AGAIN.

If you need assitance with setting up your theme, go to http://my.studiopress.com/ and read the SETUP links or the TUTORIALS link on the side tab.

If you need Account Assistance, file a help desk ticket at the same location.
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Featured Content Gallery slows down the site badly pmichellon General Discussion 1 09-10-2009 06:18 AM
Invisible text - Need help badly =( AndyWilliams24 General Discussion 1 04-23-2009 04:44 PM


All times are GMT -5. The time now is 07:22 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.