Forum Replies Created
-
AuthorPosts
-
April 12, 2013 at 1:23 pm in reply to: Primary and secondary sidebars not aligning when adding another widget area #35062
Gary Jones
MemberSince you want the double-width area to span above the primary sidebar (which is in content-sidebar-wrap) and the secondary sidebar wrap (which isn't), then you're either going to need a top margin, some convoluted CSS (in 5 minutes I couldn't charm it all neatly into position), or you need to approach it from the other direction - take a single (primary) sidebar, and split it into two underneath it.
Not sure if the code still works, but http://code.garyjones.co.uk/genesis-split-sidebars should give you a good starting point.
WordPress Engineer, and key contributor the Genesis Framework | @GaryJ
Gary Jones
MemberSounds like it's mostly likely going to be a JavaScript error somewhere.
If you go to the widgets screen, and hit F12, your browser will likely open a toolbar at the bottom - have a look through for anything called console, or script errors, and report back what it says.
Best to disable ALL plugins, temporarily.
WordPress Engineer, and key contributor the Genesis Framework | @GaryJ
Gary Jones
MemberMy mistake. I've asked that one of the Spyr team come and answer your question 🙂
WordPress Engineer, and key contributor the Genesis Framework | @GaryJ
Gary Jones
MemberI'm not clear what you're actually trying to do.
What are you trying to change for what?
Change the link in the site title to another URL?
WordPress Engineer, and key contributor the Genesis Framework | @GaryJ
Gary Jones
MemberDon't hook to genesis_after_footer. Hook to wp_enqueue_scripts instead. If you want to add it to the footer, then use the extra parameters when registering the script to add it to the footer.
WordPress Engineer, and key contributor the Genesis Framework | @GaryJ
Gary Jones
MemberAre you using the eNews Extended plugin?
WordPress Engineer, and key contributor the Genesis Framework | @GaryJ
Gary Jones
MemberAs a very quick check, it looks like genesis_seo_title filter would still be usable, even with an SEO plugin disabling other SEO features. Run:
add_filter( 'genesis_seo_title', 'poshjohn_fix_blog_name' ); function poshjohn_fix_blog_name( $title ) { return str_replace( 'h1', 'p', $title ); }in your functions.php file and see if it matches what you need.
WordPress Engineer, and key contributor the Genesis Framework | @GaryJ
Gary Jones
MemberI've not personally used it (all my development is done on a multisite install and when I last looked, it didn't support MS) but it does have a very good reputation, so if you've got a single-install live site, and a single-install dev site (perhaps under a subdomain of the main site), then you'll likely find it very useful. It doesn't have any issues with Genesis as far as I know.
WordPress Engineer, and key contributor the Genesis Framework | @GaryJ
Gary Jones
MemberAll content-based shortcodes should have been built as part of a plugin, not the theme, for the exact reason you've discovered. If they aren't, and you're not a developer, then you should be able to hire someone to do it - it's not a big job (allow an hour).
Whether you activate on the live site, or have got the resources to play on a subdomain / some other test site first, really depends on your site. If you've only got one or two family and friends visiting it, then just activate on the live site and fix as needed. If you've got 1000 visitors a day, then use a test site elsewhere.
Unfortunately, Genesis and child themes doesn't yet support the WP Customizer, where you'd be able to tweak and preview the theme before fully activating it. Hopefully this will come in the next major release after the upcoming 2.0 (which of course won't help you now, but may be of interest to others who read this thread).
WordPress does have an export and import that handles all of your content. On the receiving site (test site before doing the tweaks, back to live site afterwards) you may need to set up menus and widgets again.
You may also want to look into BackupBuddy, which can handle all of this (including amending site links in content - a common issue when migrating a site) and more.
WordPress Engineer, and key contributor the Genesis Framework | @GaryJ
Gary Jones
MemberA) No, they won't be able to see that. What you listed is the widget description (info for you, the developer), not the default content. If you leave the header widget area empty, then Genesis is clever enough not to add redundant (empty) markup either.
B) No, it looks good!
(Actually, ensure that All Rights Reserved, if you actually do need it under Danish copyright laws, uses capitals.)C) To me, the site isn't immediately obvious what it is, or who it's for. Having glanced the Denmark address in the corner, and mentally broken down the site name, I can guess that it's for members of the African community in Scandinavia. Others might not spot that though, so a site description / tagline (WP Admin -> Settings->General) that appears under the the title would summarise it immediately. I've now just seen that your home page document title has words to that effect, but as my tab only just shows "Celebratin...", I couldn't spot it.
WordPress Engineer, and key contributor the Genesis Framework | @GaryJ
Gary Jones
MemberSince your font family name is a single word, you won't need quotes around it when you use it.
font-family: simplyglamorousregular, sans-serif;
You should also go and read http://www.metaltoad.com/blog/how-use-font-face-avoid-faux-italic-and-bold-browser-styles too.
WordPress Engineer, and key contributor the Genesis Framework | @GaryJ
Gary Jones
MemberFor what it's worth, the organisation in Genesis 2.0 is different, and for me at least, better structured. I've also put further thoughts forward so it's even more logically organised, one that takes a more SMACSS approach, which sees it as Base, Layout, and a whole load of Modules. https://gist.github.com/GaryJones/5232219 is my suggested TOC.
WordPress Engineer, and key contributor the Genesis Framework | @GaryJ
Gary Jones
MemberYou're running WP 3.2.1 and Genesis 1.1.3.
Any sort of official or community support will say to update to the latest stable versions of both, before any more help can be given.
WordPress Engineer, and key contributor the Genesis Framework | @GaryJ
Gary Jones
MemberWhen you upload, you should end up with:
wp-content/themes/genesis
wp-content/themes/associateMake sure you do NOT have:
wp-content/themes/genesis1.9.1/genesis
wp-content/themes/associate-12345/
or other incorrect nesting of directories.
WordPress Engineer, and key contributor the Genesis Framework | @GaryJ
Gary Jones
MemberMost child themes for Genesis won't come with an archives.php file. There may well be one in the Genesis theme, but you shouldn't touch those files. It sounds like your learning system left a few key details out when dealing with parent / child themes.
What you can do, is create a new archives.php file in the root of your child theme - it's existence means that the one in the Genesis theme will be ignored. However, I also suspect that your learning system will be expecting archives.php to contain a bunch of logic and markup already, but that's not how Genesis works - Genesis is far more advanced and everything is abstracted to avoid duplicate code everywhere.
For Genesis, you'd create a function, hook it in to an action or filter hook, and then call genesis(); at the end of the template file.
WordPress Engineer, and key contributor the Genesis Framework | @GaryJ
Gary Jones
MemberAs you say you'll be calling the original one, my suggestion would be to put the styles at the bottom of the existing style sheet, but make use of the body class that each templated page ads, to narrow the scope of the selector.
If you can give a URL of a page using a template, and an example of what you'd like different on that page, someone can give you a starting point in code.
WordPress Engineer, and key contributor the Genesis Framework | @GaryJ
Gary Jones
MemberWelcome Justin.
For all requests for help, moderators and community members will be able to help you far easier if you share your site URL - competent folks will be able to dive into the styles on your site and be able to give a much more accurate solution.
WordPress Engineer, and key contributor the Genesis Framework | @GaryJ
Gary Jones
MemberDon't copy and paste from garyjones.co.uk - click on the "view raw" link in the bottom right of the code snippet which takes you to a raw version of the Gist - https://gist.github.com/GaryJones/1707880/raw/b635e56d6b4a6b3d40b9c5c8a25c5eb94ca13417/functions.php
Copy all but the opening <?php line and paste into the end of your child theme functions.php file. Then delete or amend the charset or bit you don't want.
WordPress Engineer, and key contributor the Genesis Framework | @GaryJ
Gary Jones
MemberHave you read the guide on the WordPress Codex?
Basically, an action hook says "Take action at this point in the code" - could be to add some new content in, or make so other change for later in the code.
A filter however is for filtering something - usually a string, so "Take this 'Leave a comment' string, and replace it with something else".
Shortcodes are what they describe themselves as - codes that are a shorthand of creating content. You'd usually use them within your post and page content, but Genesis also uses them within post meta and footer content too.
WordPress Engineer, and key contributor the Genesis Framework | @GaryJ
Gary Jones
Member.home #content .entry {
margin-bottom: 0;
}
WordPress Engineer, and key contributor the Genesis Framework | @GaryJ
-
AuthorPosts