Forum Replies Created
-
AuthorPosts
-
Gary JonesMember
You shouldn't have a real robots.txt file unless you need to customise the default behaviour (which if you're asking about it, you likely don't).
If you delete any real robots.txt file, then WordPress will serve the default values automagically:
User-agent: * Disallow: /wp-admin/ Allow: /wp-admin/admin-ajax.php
WordPress Engineer, and key contributor the Genesis Framework | @GaryJ
Gary JonesMemberThe site-header is already inside of the site-container in the markup, but the site-header has
position:fixed
applied, which takes it out of the layout flow. Remove that, and it will fall back in line.
WordPress Engineer, and key contributor the Genesis Framework | @GaryJ
Gary JonesMemberIt depends on what your goal of the site is. To educate your potential clients about what to look for when hiring a Painter and Decorator? To directly generate leads by showing off photos of your previous work? How much are you going to add blog content vs just be a fairly static information site? What type of site is going to add most value to your business, presumably in terms of generating leads?
Generally, any theme will work for any industry - it's how you want to use it that may determine the theme. Answer those questions (to yourself), and that should help you narrow down what it is you're looking for.
WordPress Engineer, and key contributor the Genesis Framework | @GaryJ
Gary JonesMemberHey Marc,
We (Gamajo) have done some advanced bits with Gravity Forms, or you could try https://naomicbush.com/.
WordPress Engineer, and key contributor the Genesis Framework | @GaryJ
Gary JonesMemberBy the combination of
position:fixed
, andz-index:999
, you've made the title-area site over the top of all of the menu items - pretty much where the blue section is in:Your menu links are fine - they correctly point to different pages, but when you try and click on them, you're actually clicking on the (invisible) element stretched over the top of it which is where your logo would be, which points to your home page. You can see that clicking over the far right (where the blue sections extends) also sends you to the home page.
Undo your header CSS, add your logo back in, and try again 🙂
WordPress Engineer, and key contributor the Genesis Framework | @GaryJ
April 29, 2018 at 3:12 am in reply to: Showing different widgets on blog page only in Enterprise Pro #219384Gary JonesMemberYou could try https://wordpress.org/plugins/genesis-simple-sidebars/ or other sidebar manager plugins.
WordPress Engineer, and key contributor the Genesis Framework | @GaryJ
Gary JonesMemberStudioPress are right. Nothing in the themes will be doing anything to affect search results. The WordPress search feature sucks out of the box.
You could try something like SearchWP, or ElasticSearch if you want to scale up.
See http://www.wpbeginner.com/showcase/12-wordpress-search-plugins-to-improve-your-site-search/ for some more ideas.
WordPress Engineer, and key contributor the Genesis Framework | @GaryJ
Gary JonesMemberYou can use https://developer.wordpress.org/reference/functions/get_post_meta/ to grab a custom field value from wherever you've saved it.
WordPress Engineer, and key contributor the Genesis Framework | @GaryJ
Gary JonesMemberGary JonesMemberSucuri is well-recommended, as is WordFence.
WordPress Engineer, and key contributor the Genesis Framework | @GaryJ
Gary JonesMemberThe
header
has a bottom padding of 30px that can be removed.The site description is positioned off to the side, but it's still taking up space. Try adding
.site-description { height: 1px; }
to your CSS.
WordPress Engineer, and key contributor the Genesis Framework | @GaryJ
April 28, 2018 at 7:06 pm in reply to: designing for clients who wish to do their own updates #219375Gary JonesMemberThe easiest way to know what a client will want, is to ask them. They may not know, and that's fine, but allow for a little bit more time making things more easily editable by them, than you'd otherwise give.
WordPress is built for users - so I'd expect that the majority of them will want to try and add new content by themselves. You can use that as a business opportunity to offer training to them on how to do that.
If you use a tool like Pods, or Beaver Builder, then you're giving them the tools to make (and brake) the site, without them having to contact you every time. Just ensure that your contract makes it clear that if they brake the site, then it'll cost them for you to fix it again!
WordPress Engineer, and key contributor the Genesis Framework | @GaryJ
Gary JonesMemberI'm not sure what query they are being retrieved by, but you could try amending the Publish date (of the Book post type, not when the book was released), or setting the Page Order if it exists.
WordPress Engineer, and key contributor the Genesis Framework | @GaryJ
Gary JonesMemberPossibly related to a PHP version, but either way, you should contact the plugin author, since they are the only ones that can apply a permanent fix.
WordPress Engineer, and key contributor the Genesis Framework | @GaryJ
Gary JonesMemberHi Dave,
Can I ask a simple question: Why?
As a potential visitor to your site (whatever that may be), do you think my goal of visiting was to view a counter?
For a page like https://wordpress.org/download/counter/ that may be the only reason I'm visiting, but in the majority of cases, the counter is likely to be a distraction from the visitor's goal and therefore stopping whatever conversion you're trying to get them to do.
I don't think you'll get many suggestions for a plugin, since you've not said exactly what numbers you need - what source, for starters. Do a search for "counter wordpress plugin" or similar will give you just as much of a starting point as any suggestion here.
WordPress Engineer, and key contributor the Genesis Framework | @GaryJ
Gary JonesMemberIt really depends on what stats you're after. Post Views? Traffic? Number of Comments? Something else?
Jetpack would give you some, by connecting you with a WordPress.com account, but you could equally just add Google Analytics or similar to the site and get a full break down of stats.
WordPress Engineer, and key contributor the Genesis Framework | @GaryJ
Gary JonesMemberI think you've removed the grandchild items, but I suspect it was an issue with the RTL styles.
Send a Support ticket into StudioPress to get it resolved.
WordPress Engineer, and key contributor the Genesis Framework | @GaryJ
Gary JonesMemberI hope by 1. you mean you've unhooked
genesis_do_header
, rather than directly edited Genesis files...In terms of the code snippet, I'd flesh it out as:
remove_action( 'genesis_header', 'genesis_do_header' ); add_action( 'genesis_header', 'angelo_do_header' ); /** * Include custom header contents. * * @since 1.0.0 */ function angelo_do_header() { include __DIR__ . '/cabecera.php'; }
There are several differences going on here, including code standards, documentation, best practices and cleaner code.
WordPress Engineer, and key contributor the Genesis Framework | @GaryJ
Gary JonesMemberThis is a very specific solution, which uses the current post's ID, and the attachment ID (WP adds classes automatically). It could be made more generalised, and therefore a re-usable utility style, but this should solve your immediate problem.
.page-id-99 .wp-image-302 { margin-top: 1em; } @media only screen and (min-width: 1261px) { .page-id-99 .wp-image-302 { margin-top: 0; } }
WordPress Engineer, and key contributor the Genesis Framework | @GaryJ
Gary JonesMemberI've told Nathan about this, so it can be fixed.
WordPress Engineer, and key contributor the Genesis Framework | @GaryJ
-
AuthorPosts