- This topic has 191 replies, 42 voices, and was last updated 8 years, 8 months ago by
Tom.
-
AuthorPosts
-
December 4, 2014 at 10:51 am #51231
Sandra Robinov
I got the code from my old theme but it’s standard, isn’t it? [hr]? So on my pages and in my posts, rather than the line, it shows the code now…is there a quick fix or am I doomed to manual laboring this? ACK ๐
If you need a peek: http://informedsharing.com ๐ It’s a bit rough right now, as I was just playing early this morning…I’m digging in now with the add-ons, etc…
December 4, 2014 at 11:00 am #51233Tom
Lead DeveloperLead DeveloperSite is looking great! ๐
Not standard unfortunately, this is why WordPress devs frown upon putting shortcodes in themes, when you switch, you’re left with ugly little codes.
Not doomed, though!
First, install and activate this plugin: https://wordpress.org/plugins/code-snippets/
Next, add this code to it:
function generate_custom_hr_shortcode() { return '<hr />'; } add_shortcode( 'hr', 'generate_custom_hr_shortcode' );
So basically we’re just creating our own little [ hr ] shortcode ๐
Hope this helps!
December 4, 2014 at 11:07 am #51234Sandra Robinov
You are AWEsome ๐ But are you asking me to go into PHP files? I’m a scaredy cat, lol. I’ll install the plugin meanwhile and see if it isn’t self explanatory.
Found another ish, my Analytics. Do you/we have a spot for that? and if not, might you help me put it in a good spot, too? I have avoided altering any files so far (with the old theme) and am wicked scared to do so. I’ve got the code, just need to drop it back in somewhere. The footer PHP, I think but OMGosh…lol. But seriously…
December 4, 2014 at 11:09 am #51239Tom
Lead DeveloperLead DeveloperHopefully it should be as easy as installing that plugin and dropping in that snippet of code – nothing too scary ๐
As for analytics, you have a couple options.
1. Use GP Hooks and drop your tracking code into either the wp_head or wp_footer hook.
2. Use the Google Analytics tracking plugin by Yoast SEO.Avoiding changes to core files is a good thing! There’s almost no excuse to ever do that ๐
Thanks!
December 4, 2014 at 11:13 am #51247Sandra Robinov
Okay. But so where do I “drop that code”? The first one. For the plugin. My apologies, I’m a techy-idiot but I try ๐ Perhaps spelling it out would be best ๐
As for Analytics, that doesn’t sound too hard, I’ll try it. Carefully ๐
Seriously, I love great CS and you are as good as they said you were (yes, I read those reviews) ๐
December 4, 2014 at 11:15 am #51248Tom
Lead DeveloperLead DeveloperOnce the snippet plugin is installed, you should see a “Snippets” menu item on the left in your menu.
Go to “Snippets > Add New”, and drop that code I gave you above in there, then save changes.
That should be it ๐
Thanks! The reviews mean a lot to me, it means I’m doing my job!
December 4, 2014 at 11:16 am #51249Sandra Robinov
PS: in GPHooks, it’s asking if I want to execute PHP (check the box)? Do I? before saving changes with the analytics code?
Thank you kindly ๐
December 4, 2014 at 11:17 am #51250Tom
Lead DeveloperLead DeveloperNope, you shouldn’t need to do execute any PHP in there, just drop in your code and save ๐
December 4, 2014 at 11:18 am #51251Sandra Robinov
Awesome on the snippets thing, on to that!! I will let you know if I need more hand holding. As for the review..I mean what I say and I say what I mean. And I’ll be sharing more on the site. Word of a blogger is golden, they say. I never have an issue calling anyone out – good or bad CS – it’s how we learn and grow to do our best ๐
KK – RE: analytics ๐
December 4, 2014 at 11:19 am #51252Tom
Lead DeveloperLead DeveloperThanks! ๐
December 4, 2014 at 11:33 am #51254Sandra Robinov
YAY, my lines are BACK! And wicked way more sexy with your theme than before ๐ Not that I didn’t love my olde theme – we’d grown apart…
I took care of the Analytics thing too, but will doubly make sure in the AM with the numbers to make sure it’s working right. I don’t trust those numbers but some of the review sites I work with, do. Ugh. ๐ I dropped it in the footer hooky thingy (see, I can be technical, too ๐ )
Anyway, off to play with all my new toys. Thanks again for ABOVE and BEYOND. ๐ Have a great rest of the day ๐
December 5, 2014 at 11:32 pm #51787Tony Winter
Hi Tom, I’m getting a 500 internal server error when I try to upload the premium pack zip file to my Word Press install. I sent an email with a temp login and details on the issue. Would sure appreciate it if you could give it a try and see if this is something you’ve seen before.
Thanks a ton!
Tony Winter
December 5, 2014 at 11:49 pm #51788Tom
Lead DeveloperLead DeveloperHi Tony,
Sorry you’re running into this issue.
You’re the first person who is having this problem, so I don’t have a solution right away as I’d like to.
Who are you hosted with?
It’s 12AM here, so for now I’ve uploaded all of the add-ons independently into your installation so you can at least start using them until we get this sorted out.
Can you try increasing your memory, and see if that fixes the issue?
http://generatepress.com/knowledgebase/increasing-memory-limit/
Let me know =)
December 6, 2014 at 9:24 pm #51971Tony Winter
The issue ended up being the my hosting provider’s PHP installation had a low file upload size limit. They’ve increased the limit and the plugins are now working great. Thanks for the help Tom on this great looking theme.
Tony Winter
December 7, 2014 at 9:44 am #52084Tom
Lead DeveloperLead DeveloperThanks, Tony! ๐
-
AuthorPosts
- The topic ‘How do I install and activate my addon?’ is closed to new replies.