Forum Replies Created
-
AuthorPosts
-
Bill MurrayMember
You can read Frederick Towne's response to the vulnerability here. It's now fixed in the WP repo version. At some level the vulnerability is really based on an insecure setup to begin with, so if your WP installation had good security before, this would not have been a vulnerability. What Frederick did in this update is to close the vulnerability for those who have insecure setups and to better hash certain info in the unlikely event someone might gain access to your DB cache.
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
Bill MurrayMember@netviper, In general, that's a sound strategy. But in RE, the original poster might find that it is better to try to get 2 domains to rank for different things. That's because it may be easier to get a domain with a personal name to rank for that personal name, and it might be easier to get a generic, keyword rich domain to rank for a common real estate term. (Of course, this depends on how good your keyword rich TLD is.) Most RE agents have a two-fold problem: build their own brands (ie, their names) while at the same time carving out space in the general RE market that may not recognize their names for a long time. If one has the time and resources to build 2 sites with unique content, they'll do better faster than a single domain approach.
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
Bill MurrayMemberRe 5) Resaving your permalink setting, even with no change to the setting, performs something called flushing your rewrite rules, which can often fix a problem like this. It's possible you needed to do this because the 1.0 version of the theme didn't include a portfolio CPT.
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
January 2, 2013 at 6:44 pm in reply to: Customizing search results page for use with Relevanssi #9081Bill MurrayMemberThat's happening because right now, the order of the divs is content...sidebar...didyoumean (the Relevanssi function). You need to see if you can change that content...didyoumean...sidebar. Since the default priority is 10, try a priority that is > 5 but < 10 to see if that helps get that order. (You can see the order using a tool like Firebug for Firefox.)
With the right order, it is a matter of then adjusting the mobile responsive styling for the didyoumean ID's, which will be found in a series of media queries at the bottom of your child theme's stylesheet. In general, didyoumean should have the many of the same properties as #content.
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
Bill MurrayMemberGood points, Chris.
There's another plugin that's worth mentioning: WP Smush.It. Unfortunately, Smush.it depends on a Yahoo service that sometimes isn't available, but when it works it's another way to reduce image sizes for images in your WP media library.
For your comment on background images, try using CSS repeat functionality to create a small portion of your background and repeat it. It can make a big difference in image size. And if you really want to minimize HTTP requests, put your CSS images in a sprite.
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
Bill MurrayMemberPointing 2 domains to the same content is a bad idea. The best approach is to have great and unique content on each domain.
Since a domain with your own name may not be one that is frequently searched for real estate generally, having a keyword rich domain name can help, but only if each domain has separate and unique content. Let's say you use an IDX service for listings and have a keyword rich domain name. You could put your listings on that domain, where visitors doing general searches are more likely to land. Then, you could focus the domain with your name on content about you and your services. Both could link to each other, and you could have a page on the keyword rich domain that explains it is a site maintained by you.
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
Bill MurrayMember$20/mo.
A few words to clarify: my original metrics were in terms of total visitors (but not unique visitors!); yours was in terms of pageviews. Those are 2 different things. As a good rule of thumb, you can at least divide your pageviews by 2 to get an approximation of human visitors, but there are a lot of exceptions. If you use a service like Google Analytics, your pageview count does not include bots, and depending on your site characteristics, bots can be a small or huge share of visitors. You would need to look at your server to get total pageviews from humans and bots. For example, with IDX tools for real estate agents able to create and update automatically thousands of posts that spiders love to crawl, a RE agent site might have 10k monthly human visitors but 50k monthly visitors from bots. Bing is an exceptionally aggressive crawler, and new global crawlers crop up all the time. Unless you look at your server access logs, you are unaware of the visits from bots & content scrapers that are visiting your site, including scrapers that are stealing your content. Those bad visitors are hurting you 2 ways: stealing your content and taking your server resources. For us, these bad visitors have ranged between 10-20% of traffic and are right now running at about 13%. We use tools to block that bad traffic which you in all likelihood aren't blocking now, so all other things being equal, your site on BH has more load with fewer resources than the same site on our network.
As a guide to understanding how traffic impacts a server, no metric (visitors or pageviews or something else) is perfect, because what really matters is whether that traffic is getting a cached page (since serving a cached page takes very little resources), and those metrics don't measure that.
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
Bill MurrayMemberI believe that plugin supports video thumbnails for custom post types. Since the portfolio is a CPT, you have to enable video thumbnails for that CPT in the plugin settings.
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
Bill MurrayMember1) In your child theme stylesheet for .header-image #title-area around line 227, set the width to 320px. Why? Because that's roughly the width of your logo in the header. The old width of the header area + the widget area was too wide, which caused the menu to push down. Unless your server is configured incorrectly, no one can look at the PHP code, only the public-facing HTML & CSS. The pictures of public-facing content are only helpful if you have a glitch and don't want to leave it that way; that type of picture is only to document the glitch. Beyond that, a link to your site is all you need to provide.
4) Your home page is controlled by home; it can be influenced by functions.php, but the primary control is not there. In home.php, change your minimum_grid_loop_helper() function from this to have 8 grid loop posts on the home page:
function minimum_grid_loop_helper() { if ( function_exists( 'genesis_grid_loop' ) ) { genesis_grid_loop( array( 'features' => 0, 'feature_image_size' => 'featured', 'feature_image_class' => 'post-image', 'feature_content_limit' => 0, 'grid_image_size' => 0, 'grid_image_class' => 'alignnone', 'grid_content_limit' => 250, 'more' => __( '[Read more]', 'minimum' ), ) ); } else { genesis_standard_loop(); } }
function minimum_grid_loop_helper() { if ( function_exists( 'genesis_grid_loop' ) ) { genesis_grid_loop( array( 'features' => 0, 'feature_image_size' => 'featured', 'feature_image_class' => 'post-image', 'feature_content_limit' => 0, 'grid_image_size' => 0, 'grid_image_class' => 'alignnone', 'grid_content_limit' => 250, 'posts_per_page' => 8, 'more' => __( '[Read more]', 'minimum' ), ) ); } else { genesis_standard_loop(); } }
5) You can't have 2 items with the same slug. So if you had a portfolio custom post type, your portfolio page would not have a slug of portfolio. It would be something like portfolio-2. Do you have any portfolio CPT's created yet? If you do, provide a link to one of them, so I can take a look.
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
January 2, 2013 at 8:46 am in reply to: Customizing search results page for use with Relevanssi #8934Bill MurrayMemberGlad it worked out the way you wanted.
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
Bill MurrayMemberTry adding this to your child theme's style sheet:
#featured-post-5 h2 { margin: 0; padding 0; }
That will target the left most featured posts widget, and if you change widgets so the ID's change, the styling might need to change. That's the most specific approach. You could also use:
.featuredpost h2 { margin: 0; padding 0; }
if you want to target all of your featured post widgets with the same styling.
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
Bill MurrayMemberQuestions, questions....
1) Header image: Yes, the image will be cropped to the size of 1140 x 100. See the note on Appearance->Header. Therefore, to avoid cropping, upload an image that is exactly that size. It can be a background where you'd use a text logo or a background that includes your logo on the left side (you create the image that way). How to avoid pushing a header menu down? Upload an image of that size, leave it there, post back, and we'll take a look.
2) Featured images on home page: See the grid loop in your child theme's home.php for grid_image_size. The image sizes for this theme might not look good in the grid loop, so you may have to a) define a new image size and b) regenerate thumbnails for this to work. What's the image size you want to include?
3) Post info on the home page: Evidently, your comment plugin has taken this over, since I don't think Genesis is outputting that by default. Your functions.php around line 86 or so has the function that customizes post info. You could try removing the shortcode for comments, because your comments plugin is likely hooking into that.
4) Posts on front page: For your home page, your best bet is to hard code that as an argument for the grid loop. The setting is posts_per_page. If you're not familiar with how to adjust that, post back.
5) Portfolio: The portfolio is a custom post type, not a page, so you can't set a page template. The portfolio archive is at your domain /portfolio/. You could put that on a menu using the Custom Link option.
Hope that helps.
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
January 1, 2013 at 5:58 pm in reply to: Customizing search results page for use with Relevanssi #8853Bill MurrayMemberGlad it works. It looks good.
I think the priority caused the genesis_after_content not to work. The default priority is 10, and lower numbers mean higher execution priority, so maybe 5 was too low. You can delete the priority altogether, since it's optional. I don't understand the on-screen text, but if the order isn't to your liking, you can try going back to the after content hook and upping the priority. That might put this text after the content, which I suspect says that the string wasn't found. If you use use a tool like Firebug or right click on an element in Chrome and inspect it, you can see where it puts that ID, and the goal is to get it after the content but before the sidebar. The CSS won't change.
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
January 1, 2013 at 1:24 pm in reply to: Customizing search results page for use with Relevanssi #8787Bill MurrayMemberI updated the code on the link. Let's see if this gets closer. I added a priority because right now this is getting added after the sidebar. Then, I gave the strings some CSS based on Relevanssi's documentation.
I gave it an ID of didyoumean, so you'll need to add something like this to your child theme's style sheet:
/* Relevanssi search result when nothing found */ #didyoumean { margin: 0 0 10px; padding: 0 30px; }
That ought to make it line up with the other content. Adjust to suit your taste. Keep your fingers crossed 🙂
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
January 1, 2013 at 10:34 am in reply to: Customizing search results page for use with Relevanssi #8737Bill MurrayMemberLet's not give up yet...
Does Relevanssi create a page for search results? Can you try the code in my last example using the is_page() with the page ID? I'm wondering if the is_search() thing is breaking it.
The addition of the priority (the 5 parameter) should have fixed the "not displaying" issue.
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
January 1, 2013 at 10:06 am in reply to: Customizing search results page for use with Relevanssi #8734Bill MurrayMemberBefore we go the CSS route, let's try this:
add_action('genesis_after_post_content', 'wpp_relevanssi_did_you_mean', 5);
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
Bill MurrayMemberThe WP terms can be confusing.
I think what mbloksma wants is a widgetized home page, but not a home page that displays a dynamic blog page where dynamic means that as new posts are published, they appear automatically.
One might think that "static home page" would produce that, but that's not the way it works. The static home page option just grabs the content of a single page. It puts the burden on the user to make that page look the way he or she wants.
@mbloksma, You can get what you want using the latest Streamline theme, but it will be a bit of customization. Here's a brief outline of what you would need to do:Option #1 - Set your Settings->Reading Front page displays to Your latest posts.
1) add a widget area (to make it easy for you to customize the home page)
2) put that widget area in home.php and remove the call to the standard genesis loop, which is producing the loop of posts
3) modify the child theme's CSS to support the new widget area you created (including the mobile responsive media queries)Option #2 - Set your Settings->Reading Front page displays to A static page
1) Use a plugin (there are several) that allow you to put widgets on pages
2) Create a static page as you have done and add the existing widgets you want to give that static page the content you want
3) Adjust the child theme's CSS (which probably didn't contemplate widgets on pages)Option #3 - Use a page template
1) Following the concept in Option #2, create a page template that includes the existing widget areas (no need for plugin)
2) Set the template for this page to be that templateOption #3 is probably the best route in that it doesn't involve modifying the child theme as much; a page template can be turned on or off as needed.
Hope that helps.
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
Bill MurrayMember@Leon - Is there something special that you know about jpegmini.com's compression approach? Photoshop's tools should provide results that are at least as good.
@Suzanneper - Cost is $10 or $20/mo, depending on features. In your case, we'll give you 3 mo free as a trial. Just email sales at wpperform.com and we can explain more. On traffic, it's a good question, but you first have to understand the difference in approaches.At BH, you are on a shared server running Apache, which starts off with a pool of resources. You are 1 of many on that server. The traffic that you can reasonably serve is a function of several things: the starting pool of resources (the BH features) and the loads placed by others on that server (over which you have no knowledge/control unless you do some digging). In your or your friend's case, you could have traffic that is too big for the starting resource or someone else on the server is consuming too many resources and BH isn't paying attention or doesn't care. (I had a case where a client had little traffic but the server was often reporting high loads, and BH refused to move them to another server.) At BH, your shared server connects to a database server, which I think is a single server (ie, if it's down, your WP site is down).
Our approach is an entirely different model. First, we are running a different server OS, Nginx, that is much faster than Apache. Second, our web and database servers are redundant, so a failure by any 1 is not fatal; our DB servers are set up to use a different DB class to take full advantage of the redundancy. Third, our web servers are behind a load balancer that directs traffic to the least used web server. In effect, a site exists on multiple web servers and is served by the 1 with the least traffic. Lastly, the # of web servers can go up and down easily (within a few minutes) as traffic changes, which we monitor constantly. If traffic spikes for 1 day, we can bring additional servers online for just that day, at very low cost. We use aggressive caching that converts pages to static HTML, so frequently accessed pages can be served up in about 1/2 second (500 ms), which reduces the processing that the web servers need to do (no need to run PHP or get info from the DB server to figure out how to produce a page). This model serves the smallest and biggest sites equally well. It is very similar to the approach that WP.com uses to run 50 million + sites. And btw, hats off to the WP.com folks, because they often document technologies they adopt, so everyone in the WP world benefits. So the answer to your question about how much traffic is supportable is not as much a technical one as it is compared to BH, just a financial one in terms of how much traffic you want to pay to support. The $10/mo plan is probably good for about 5k/mo visitors; the $20/mo plan, about 15k. We don't turn off the spigot if you go above a visitor or pageview count on a consistent basis. We just kindly encourage you to give us more $ 🙂
Hope that helps.
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
January 1, 2013 at 8:37 am in reply to: Customizing search results page for use with Relevanssi #8722Bill MurrayMemberHmmm...after thinking about this more, the genesis_after_post_content hook might be even better. genesis_after_content isn't quite right, which is why the text is so far to the left.
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
December 31, 2012 at 10:07 pm in reply to: Adding Logo to Header Left (Title Area) in Outreach #8672Bill MurrayMemberI think I have a better understanding of your point. The change you are observing is not a result of Genesis 1.9 but rather due to changes in the updated child theme.
Your plan to make a custom header in Photoshop will work fine. Make the image 1060 x 120 px and you won't see any cropping.
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
-
AuthorPosts