Forum Replies Created
-
AuthorPosts
-
Bill Murray
MemberAre you saying that you don't have the menu choice of Appearance->Header?
I just checked Genesis 1.9 with Outreach and I had no problems doing what you want to do.
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
December 31, 2012 at 7:55 pm in reply to: Need help added header scripts – getting (you don't need this) in header #8659Bill Murray
MemberWell, I would go back to the developer of the script and explain that you are loading that on a WP site that already loads jQuery (the version will depend on your WP version) and ask them how to make their script work. You shouldn't load 2 copies of jQuery, because at some point you'll find something that is broken.
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
December 31, 2012 at 6:11 pm in reply to: Need help added header scripts – getting (you don't need this) in header #8647Bill Murray
MemberThat's good, but you still have a problem. Your very first line is loading jQuery, which WP already loads. So you don't want to load a 2nd copy. Try deleting that first line and re-test.
In general, it's ok to add scripts the way you are doing - provided that you are aware of what you are loading and don't load duplicate or conflicting scripts. The ideal way is to enqueue them, and that would have saved you from loading a duplicate jQuery. Since loading them via the header script box in theme settings is easier, always be vigilant to what you are loading.
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
December 31, 2012 at 5:27 pm in reply to: Customizing search results page for use with Relevanssi #8639Bill Murray
MemberI took a look and updated the code on my link. Grab an updated copy and it should fix the problem you observed.
The bad placement was because I wasn't sure where that function would do its work, so I loaded it in a less than ideal place. I've now set it to load in a more ideal place, but we'll have to see if the change suits your needs.
Post back with the results.
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
December 31, 2012 at 5:16 pm in reply to: Need help added header scripts – getting (you don't need this) in header #8637Bill Murray
MemberIt sounds like you are going about it the right way. Can you post the script you are to load? Since the forum may mess up script that you attempt to paste in, you can try putting a space after the opening and closing bracket, as in . If that doesn't work, replace the word script with something else.
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
December 31, 2012 at 1:36 pm in reply to: Customizing search results page for use with Relevanssi #8620Bill Murray
MemberPlease up your standards for brilliance. 🙂
Have a link to your site? I can check what CSS Relevannsi is outputing with its function, which is quicker than looking in the code.
Btw, did the is_search() work?
Same to you.
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
Bill Murray
MemberI can't speak to the Dynamik issue, but for Education (at least the most recent version), the code and WooCommerce work fine.
This forum sometimes messes up code, so be sure to check that your quote marks are not slanted but instead go straight up/down and make sure you add the line of code after the call to init.php near the top of your child theme's functions.php and before the closing tag (if it exists).
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
Bill Murray
Member2 & 3 - jQuery is not a problem. It's required to run your site. It's a javascript library that is used by core WP and some plugins. Your original problem was that you had 2 copies of it loading, which can cause things to break. It appears that whatever you did fixed that. Your total javascript contribution to page weight is about 200 Kb, which is not bad and not worth worrying about. You brought that down a lot. The "base" javascript to load the Pretty Pictures demo is about 107 Kb, so your current batch of activated plugins aren't adding too much. These are raw numbers (ie, not compressed), and your typical visitor will receive compressed files, so you can scratch jQuery and javascript off your list for now as a job well done.
6. I don't think you chose "both" or you misunderstood the question. Visit your Settings->General page and note the URL's that are listed - do they contain 'www' or not? (I think the label is "Home" or "Blog address" but I've seen the screen so many times I haven't paid attention to the label in a long time, so it might have changed.) You can also look at (but do not modify!) your wp-config.php file and look for values of WP_SITEURL or WP_HOME. The bottom line is that you have to choose 1 or other, and you did. As of a long time ago (at least 4 years, maybe longer) WP has had support for canonical redirects. That means 1 version (either 'www' or non-www) is canonical (specified by you as the preferred version). WP does the specifying for you by how you entered the values in Settings->General. Since your non-www redirects to your www version, the www version is your canonical URL. Changing this is not impossible, but it is a bit of work, and the work has consequences. You already have about 1k links in the Google index, all of which (at least the ones I checked) are the www version. Those could be redirected to the non-www verison (the work part), but 301 redirects have some slight negatives in the SEO world (how slight is debatable). Bottom line: you have to choose 1 or the other, and it might be easier to reprint your cards or use them up in a hurry and fix it when you reprint. Meanwhile, always refer to your site with its canonical URL (avoid what you did when linking to your site in this thread). Next, if you haven't done so already, get a free Google Webmaster Tools account and establish ownership of your site. Tell Google which URL you prefer (www or non-www) - and the URL should be your canonical URL. Either bite the bullet and investigate changing this (but don't leap in and change it!) or tell Google to use the www version (safer and easier at this point). Your current server setup is taking a long time to handle the redirect that WP has set up from non-www to www. You should check with your host to see what the problem is. One common cause is that WP's redirects are not at the bottom of your .htaccess file (where they should be).
7. Before I can say whether we're a good fit, I'd need some information from you. Your home page says you are in New Zealand. From where do you expect to attract the bulk of your visitors - the US or outside the US? That makes a big difference in where you should host. Our servers are in the US in New Jersey, a good location for the US. As a general rule, you should host your site where the majority of your visitors are. You can look at Google Analytics to get a handle on this. Serving WP cross continent will add some latency (just use Pingdom to test your site from Europe to see this), and that latency will make your site slower and hurt your organic search traffic. Your interest as site admin is affected, but if you locate in NZ only to make the WP dashboard faster for you, that's not good for your US visitors. You are hosting on Bluehost, which is serving up your site from Dallas TX, so either you are intentionally targeting US visitors or accepting the cross continent latency. If you are targeting users in your own country, you shouldn't move to us but rather to a good NZ host. We strictly do managed WP hosting, not general hosting. That means we handle the worries of security, WP/plugin upgrades, etc, leaving you to focus on running your WP site. We don't do email. What we do is serve up WP very reliably and very fast. Trying it is free. We'd move a copy of your site (free, blocked from search engines so you don't get duplicate content issues) to our service. If you like it, you would modify your DNS for your domain to point to our servers. Since you control your DNS, if you don't like it, you modify your DNS back to your current host (which remains accessible by its IP address). Our cost is slightly more than BH's standard hosting, but cheaper than their Pro Hosting pricing. I'm happy to send you more info, but first consider your target visitor. That should be your first consideration.
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
December 30, 2012 at 4:26 pm in reply to: Customizing search results page for use with Relevanssi #8454Bill Murray
MemberGood thought. That change should work too. Give them both a try and post back with your results.
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
Bill Murray
MemberDon't bow out. The more contributions, the better. We all learned by starting with no knowledge, so any effort to help point people in the right direction is a good approach. If the advice you give isn't quite right, there are plenty of troublemakers to tell you where you went wrong. Just be sure to give it right back at them.
Your latest block of code isn't quite right. It is a way to add that to functions.php because it uses the is_home() conditional. But the remove action is wrong, because that's not how Metric adds its footer widgets. Metric is an older theme that adds footer widgets by an included script. That's why I said in an earlier post to always look at the functions.php to see what the child theme is modifying by default. So in your code, replace genesis_footer_widget_areas with metric_include_footer_widgets and it should work in functions.php. For newer themes, as a general guideline your code would probably work without modification, but each child theme could change things in its own functions.php.
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
December 30, 2012 at 12:22 pm in reply to: How to Remove Footer from Home Page in Metric Theme #8405Bill Murray
MemberNo apology necessary. "Good bye" sounds so final. I hope you weren't put off by my comments, because I didn't intend that. I'm sorry if it came across as harsh. Harooki2 has had a couple of threads on changing his home page, and code that Brian and I had given him previously didn't work, so I just wanted him to avoid going down a path that might cause him further frustration.
If you stick around long enough, you'll have plenty of good opportunities to tell me my advice is terrible 🙂
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
December 30, 2012 at 12:12 pm in reply to: Customizing search results page for use with Relevanssi #8402Bill Murray
MemberYou can add the code in the attached link to your child theme's functions.php. See the inline documentation in the code to add it just to your search page. To do that, get the page ID of your search results page (you can mouse over the URL in the WP dashboard and note the ID in the URL) and replace '1234' with your page ID.
Always be sure to have a good backup of your functions.php and the ability to put back a good copy to your server (such as with FTP) prior to making any changes, because even a small typo can break your site.
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
December 30, 2012 at 11:55 am in reply to: How to Remove Footer from Home Page in Metric Theme #8393Bill Murray
Member@riavon - Based on what the original poster asked for, that's not good advice. The code you included will remove the footer from all pages. He said he only wants to remove it from his home page. There's nothing wrong or inefficient about modifying a child theme's home.php to effect changes on the home page. In fact, for home page changes, it's more logical to make changes to home.php if the child theme already includes that template.
If you found a statement to the contrary on the old forums, please post a link. I suspect the statement was intended to apply to a specific question and wasn't a hard-and-fast general rule. The statements you quoted above were likely in response to a request that was different from the original poster's request.
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
December 30, 2012 at 10:14 am in reply to: How to Remove Footer from Home Page in Metric Theme #8380Bill Murray
MemberOdd. The forum stripped that out. Here it is:
<?php remove_action('genesis_before_footer', 'metric_include_footer_widgets'); ?>
I tested that on my own Metric install, and it works.
One note on this: Genesis child themes can make changes to where certain functions are called or named. When you want to make changes or follow a tip from these forums, it's a good idea to see if your child theme's functions.php is having an effect on the thing you want to change. Even if you don't understand PHP, if you want to change footers and see some code with 'footer' in it in your functions.php, that's a good hint that your fix has to take that into account.
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
Bill Murray
Member1. The WP plugin repository or "repo" is at http://wordpress.org/extend/plugins/
2. For Jetpack, the Manual Control for Jetpack plugin will appear to do nothing but it serves a purpose. Jetpack adds a lot of new features, and more seem to come with each release. The new features are auto-activated. The Manual Control plugin turns that auto-activation off, so you can review the feature and decide if you want to activate it.
3. On jQuery and reading stuff about WP, always have a skeptical viewpoint. It's easier to publish a post that contains bad information than to be thorough and accurate. Also, keep in mind the date of the information you discover. Things change, so what was an advantage several years ago might not be any more. Much of what you probably read on not using WP's jQuery is either outdated or lacks proper perspective. Some say that you should use external jQuery to take advantage of browser pipelining which is restricted to 2 downloads from 1 server at a time. That's outdated. The setting in current builds of Firefox set the # of HTTP requests served per server at a max of 30, not 2. It also lacks perspective because in your site, jQuery is a core resource required to run WP and takes up less than 4% of your page weight. Tinkering with it can create problems for negligible (if any) performance gain. It's better to focus on the things that matter (the 96%) than tinker with the 4%.
4. Your page weight is down to about 1.5 Mb, so you dropped about 1 Mb overnight. That's pretty good. A lot of that came from dropping javascript and the Google visualization JS is gone.
5. The jquery you linked in your last post is the jquery you want to keep. Note that it is coming from your own server and the /wp-includes/ folder (part of WP core).
6. In the link you provided to your website, you omitted the 'www'. The domain with the 'www' and without are 2 separate things, so you have to use 1 consistently. In your case, the non-www redirects to the www one, so I imagine you want to use the www as your primary. That's fine. But take a look at the Pingdom tool to see the speed difference between the 'www' and non-www. Your setup is taking a loooong time to do that redirection. It should be virtually instantaneous.
7. I only like my own hosting service 🙂 Picking a host is hard, and configuring a server is much harder. You wouldn't want to pay for the things you need to run a high performance WP site, and you can't do it effectively on a shared host. One example: ask Bluehost what their PHP memory limit is (it used to be 64 Mb). On our service, it's 256 Mb. Too little PHP memory is 1 reason your site can be slow. If you setup a VPS (more $), you need the server admin skills to set it up right. Most that go the VPS route don't end up with a VPS that is properly configured, since they aren't server admins. Those are some of the reasons why I set up a managed WP service. I think a managed WP approach is better for people that want to focus on their sites and content.
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
Bill Murray
MemberHave a look at Bill Erickson's article: http://www.billerickson.net/genesis-wordpress-nav-menu-content/
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
Bill Murray
MemberIf you are using Firefox, download and install a) Firebug and b) Yslow. That will allow you to get a better understanding of what is loading on your page. Yslow will give you basics of what your page weight is, etc. You can also use Pingdom (I'm intentionally not including links because they've given me problems in other forum posts tonight - just google Pingdom to find their tool).
jQuery is a javacript library that is automatically loaded by WP. It should only be loaded 1x. Sometimes, bad plugins load a second copy. There are also some who believe (in my view, mistakenly) that loading jQuery from Google is a speed advantage. So, you can check your plugins for any mention of loading jQuery from Google as a performance gain. If so, disable that.
For Google visualization javascript, if you didn't load it by design, it is loaded either by a plugin or a Jetpack feature. Are you using something like Sharedaddy polls? That might be the culprit there. In general, if you don't have the background to research this, to find out what plugins are loading what javascript, you have to use a slow but basic method: make a list of all of your activated plugins and use a tool like Pingdom to see all of the javascript (files that end in .js) that are loaded. Then, deactivate 1 plugin, wait about 10 mins (because Pingdom can cache results), and re-run the test, noting which javascript is no longer loading. The plugin you just deactivated was loading that script.
On images, yes, your theme somewhat paints you into a corner. So you have to watch image file sizes. JPG's employ compression, so not all JPG's in the same size will have the same weight in Kb. In a tool such as Photoshop, you can control the compression of the image. For example, on the Pretty Pictures demo, images that are the same size as yours are about 150 Kb - far smaller than yours in page weight. Also, note on the demo that smaller images can be used, so you don't have to load large images on every home page post. Finally, you can also reduce the # of posts shown on the home page (perhaps drop 1). Compare the page weight and loading time of your site to our demo: http://prettypictures.wpperform.com .
Don't fret over every 1 of these suggestions (except the duplicate jQuery - that's a problem!). They are part of optimizing your site. You may reasonably choose not to implement all of them, accepting a slightly slower site for certain functionality or presentation. It will be a process to get your page weight down, but the benefit will be more organic search traffic.
Also, are you on Bluehost? It's just a personal opinion, but they aren't going to make your site a speed demon. Your site without making any modifications on my network would be much faster than it is now.
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
Bill Murray
MemberSee this: http://www.billerickson.net/genesis-wordpress-nav-menu-content/
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
Bill Murray
MemberHave a look at Bill Erickson's post on this topic: http://www.billerickson.net/genesis-wordpress-nav-menu-content/
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
Bill Murray
MemberHave a look at Bill Erickson's post on this topic: http://www.billerickson.net/genesis-wordpress-nav-menu-content/
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
-
AuthorPosts