Forum Replies Created
-
AuthorPosts
-
RonnyMacMember
Great find. Something like it is here.
ronnymac
—
Ron McElfresh
Honolulu, HI
—
http://mac360.com/
http://mcelfresh.org/
http://mcsolo.com/
http://pixobebo.com/
http://noodlemac.com/RonnyMacMemberSomebody moved my cheese.
😉
The new Sample Chile Theme's code is more compact, yes, but also seems to have more inherited values down the line. Making one change to a CSS value often requires tracking down the earlier values to make a change to CSS stick.
ronnymac
—
Ron McElfresh
Honolulu, HI
—
http://mac360.com/
http://mcelfresh.org/
http://mcsolo.com/
http://pixobebo.com/
http://noodlemac.com/RonnyMacMemberThat's close but still wraps the right and left angle quotes inside the link, rather than outside the link.
ronnymac
—
Ron McElfresh
Honolulu, HI
—
http://mac360.com/
http://mcelfresh.org/
http://mcsolo.com/
http://pixobebo.com/
http://noodlemac.com/RonnyMacMemberLooks a bit like Disqus with social aspects. I've considered Disqus which seems to show up more frequently on sites these days.
ronnymac
—
Ron McElfresh
Honolulu, HI
—
http://mac360.com/
http://mcelfresh.org/
http://mcsolo.com/
http://pixobebo.com/
http://noodlemac.com/RonnyMacMemberAlso, leave a copy of the favicon.ico file in your site's root. Some browsers ignore the new location and simply expect the favicon file to be at the root level.
ronnymac
—
Ron McElfresh
Honolulu, HI
—
http://mac360.com/
http://mcelfresh.org/
http://mcsolo.com/
http://pixobebo.com/
http://noodlemac.com/RonnyMacMemberLooks fine from here, too. Clean and neat, but there are a few dozen code errors (nothing serious), though.
ronnymac
—
Ron McElfresh
Honolulu, HI
—
http://mac360.com/
http://mcelfresh.org/
http://mcsolo.com/
http://pixobebo.com/
http://noodlemac.com/RonnyMacMemberYep, that does it. Perfectly. A bit convoluted but easy enough.
Thanks!!
ronnymac
—
Ron McElfresh
Honolulu, HI
—
http://mac360.com/
http://mcelfresh.org/
http://mcsolo.com/
http://pixobebo.com/
http://noodlemac.com/RonnyMacMemberOK, I see it. Finally. It's too early in the day.
This provides another .wrap inside the #inner, which can be useful. How does one put a full width header-only background color without another wrap?
I can set the #wrap to 100%, then set each region to a width of 1152px, but any color background in the #header remains at 1152px. So, is it best to set the #wrap and #header at 100% width, then center the inner .wrap?
ronnymac
—
Ron McElfresh
Honolulu, HI
—
http://mac360.com/
http://mcelfresh.org/
http://mcsolo.com/
http://pixobebo.com/
http://noodlemac.com/RonnyMacMemberMaybe I'm missing something or copied and pasted incorrectly but I can't see that the Full Width snippet in GenesisTutorials does anything in functions.php.
In the Genesis 1.9.1 Child theme, each region-- header, nav, subnav, inner, foot-widgets, and footer-- have an inner #wrap already. And all the regions are wrapped in the body #wrap.
If the width of the body #wrap is set to 100% then the inner regions have no margin. Setting the inner regions to width: 1152px; and margin: 0 auto; seems to work, while giving the body #wrap a width of 100%.
If that tutorial snippet does anything in functions.php I can't see it. What am I missing?
ronnymac
—
Ron McElfresh
Honolulu, HI
—
http://mac360.com/
http://mcelfresh.org/
http://mcsolo.com/
http://pixobebo.com/
http://noodlemac.com/RonnyMacMemberAs I said, I don't know how to spell PHP or CSS. I just muck my way through the code using trial and error until something works. Infinite number of monkeys typing kind of thing.
If there's an easier way, I don't know what it is. The DFLL plugin will work on the WP TwentyTen theme, but the code to make it work DF-style needs to be dropped into a Genesis theme, and the easy way to do that is through the Genesis Simple Hooks plugin.
I've seen a few other methods for putting an outbound link where the title is (instead of the permalink), but the DFLL method is the best.
ronnymac
—
Ron McElfresh
Honolulu, HI
—
http://mac360.com/
http://mcelfresh.org/
http://mcsolo.com/
http://pixobebo.com/
http://noodlemac.com/RonnyMacMemberYes. You'll need the Daring Fireball-style Linked List Plugin from Y.J. Soon. Installation is typical WP plugin and setup is equally straightforward. And it's priced right.
Then the fun begins.
Getting the DF-style link to show up using a Genesis theme takes a little more work and Genesis Simple Hooks.
I'm working on a project to replicate that link out style on two Genesis sites. It gets tricky because of the unique way DF uses CSS for the link outs, but here's how I made it work.
This code should be placed in the 'genesis_post_title Hook' in Genesis Simple Hooks. Unhook the function and click on the execute PHP. The code also assumes two post categories. One is called 'linked' for the link outs, and the other is for longer 'articles' without a link out (traditional links).
<?php if (is_single() AND in_category('linked') AND is_linked_list()): ?> <div class="link-date"><?php echo the_date(); ?></div><!--END link date--> <dl class="linked"> <dt><a href="<?php the_linked_list_link(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></dt><dd></dd></dl><!--END linked--> <?php else: ?> <?php endif; ?> <?php if (is_front_page() AND in_category('linked')): ?> <div class="link-date"><?php echo the_date(); ?></div><!--END link date--> <dl class="linked"> <dt><a href="<?php the_linked_list_link(); ?>" title="<?php the_title(); ?>" class="link"><?php the_title(); ?></a> <a class="permalink" title="Permanent Link to '<?php the_title(); ?>'" href="<?php the_permalink(); ?>">></a></dt><dd></dd></dl><!--END linked--> <?php else: ?> <?php endif; ?> <?php if (is_single() AND in_category('articles')): ?> <h1 class="entry-title"><?php the_title(); ?></h1> <div class="article-date"><?php echo the_date(); ?></div><!--END article date--> <?php else: ?> <?php endif; ?> <?php if (is_front_page() AND in_category('articles')): ?> <div class="spook"></div><!--END spook--> <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2><div class="article-date"><?php echo get_the_date(); ?></div><!--END article date--> <?php else: ?> <?php endif; ?> <?php if (is_archive() AND in_category('articles')): ?> <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2><div class="article-date"><?php echo the_date(); ?></div><!--END article date--> <?php else: ?> <?php endif; ?> <?php if (is_archive() AND in_category('linked') AND is_linked_list()): ?> <div class="link-date"><?php echo the_date(); ?></div><!--END link date--> <dl class="linked"> <dt><a href="<?php the_linked_list_link(); ?>" title="<?php the_title(); ?>" class="link"><?php the_title(); ?></a> <a class="permalink" title="Permanent Link to '<?php the_title(); ?>'" href="<?php the_permalink(); ?>">»</a></dt><dd></dd></dl><!--END linked--> <?php else: ?> <?php endif; ?> <?php if (is_search() AND in_category('articles')): ?> <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2><div class="article-date"><?php echo the_date(); ?></div><!--END article date--> <?php else: ?> <?php endif; ?> <?php if (is_search() AND in_category('linked')): ?> <div class="link-date"><?php echo the_date(); ?></div><!--END link date--> <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2> <?php else: ?> <?php endif; ?> <?php if (is_page()): ?> <h1 class="entry-title"><?php the_title(); ?></h1> <?php else: ?> <?php endif; ?>
This also segregates the categories Articles and Linked so they display differently in category mode, and in Search mode.
Sorry, my code isn't all that pretty (I don't even know how to spell PHP), but it works and returns results exactly as you expect on DF. I've also included the CSS tags but you'll have to write your own CSS to match (and that gets tricky, too, especially on the mouseover of the link out, which also highlights the permalink glyph). In this case I use the right angle quotes instead of the DF star.
ronnymac
—
Ron McElfresh
Honolulu, HI
—
http://mac360.com/
http://mcelfresh.org/
http://mcsolo.com/
http://pixobebo.com/
http://noodlemac.com/January 16, 2013 at 9:20 am in reply to: Support Tickets are a JOKE!!!! Really, Studiopress??? #12299RonnyMacMemberThere's a lot of emotion in this thread, probably born from way too much frustration.
I can't agree that Genesis 1.9.x is a 'site destroyer.' Over the course of a few days I upgraded over 70 WP sites to 1.9.x with zero problems; and all have custom themes or themes from the Genesis library. Zero problems.
I can sympathize with those who have problems, though. There have been many instances where something goes wonky on a site and it takes hours to days to track down what turns out to be something simple in an obscure line of code.
And, I can sympathize with those who don't like the new ticket arrangement for support. Those common user problems and their solutions are no longer available to the rest of the StudioPress community. Many times I could find a solution to a problem or an issue in the forums within a few minutes of digging around. That's seldom the case since the ticketing arrangement was implemented. That said, I also understand why StudioPress moved to a ticketing support system. It's economics. Free online support sounds great and works for awhile but as the customer base grows so the customer base changes and many new Genesis customers require a level of hand holding that goes well beyond the scope of support for Genesis.
I've been known to seek support for PHP and CSS issues only mildly related to Genesis framework. I appreciate the responses I've received, but understand why StudioPress needs to help with problems only related to Genesis themes or framework.
For those who have problems with upgrades, you will save yourself a boatload of problems, frustration, anger, and disappointment if you keep a local version of your site on your Mac or PC, for modifications and backup. Making major changes or upgrades to a live production server is asking for trouble. Make changes to a site or upgrades to a site only on the local version first. If all goes well, chances are very good that the same changes and upgrades will work fine on the live production server.
Options for local development are many and varied. For Mac users there's MAMP, which makes it easy to replicate a live site on your Mac. Ditto for WAMP for Windows PC users. And, that local site can act as a good backup for the live production site. And, for what it's worth, I don't do backups of the live site. Instead, I keep backups locally of the site's database, custom CSS, images/uploads, config.php, and functions.php site (needed for a locally maintained copy of the site anyway). It's almost trivial to recreate a busted site if you have all the pieces. And I have yet to run into a good backup system that does a seamless, error-free restore that's any faster or easier than recreating a site with the pieces.
Finally, I like using Genesis. I scoured the web for over a year and tried a dozen different WordPress frameworks before settling on Genesis. I transferred dozens of sites which started life on ExpressionEngine (love it, if it only worked as it once did) to Genesis. I don't know of a faster, more secure, more easily modified framework than Genesis. And I can't spell PHP or CSS.
That said, I'm struggling with the new Genesis 1.9.x Child Sample theme's CSS. It's less code, but organized and layered fare more different than the previous versions which were more logical, and a better option to use as the basis to create custom themes.
One more thing: Responsive themes, like children, are highly overrated.
😉
ronnymac
—
Ron McElfresh
Honolulu, HI
—
http://mac360.com/
http://mcelfresh.org/
http://mcsolo.com/
http://pixobebo.com/
http://noodlemac.com/RonnyMacMemberYes. But that wasn't the problem. Removing all instances of .post-info and .post-meta also causes them to not display. Removing .post-info and .post-meta seems to have multiple definitions. I can remove the information in Genesis Simple Edits-- a 'remove' which removes the information, but not the CSS, which is still formatted. Since I'm not using .post-info or .post-meta information, there's no need to have it in the CSS file, either, hence the removal. However, as is often the case before removing CSS, I chose to 'not display' what was visible. Either way, the end result is the same.
ronnymac
—
Ron McElfresh
Honolulu, HI
—
http://mac360.com/
http://mcelfresh.org/
http://mcsolo.com/
http://pixobebo.com/
http://noodlemac.com/RonnyMacMemberThe intent is not to display .post-info or .post-meta. The problem ended up being a dt div, and a my_date() problem with the first post (whereby the date, though hidden in the first post via CSS, could not be hidden in subsequent posts in the same category. No easy fix, either.
ronnymac
—
Ron McElfresh
Honolulu, HI
—
http://mac360.com/
http://mcelfresh.org/
http://mcsolo.com/
http://pixobebo.com/
http://noodlemac.com/RonnyMacMemberGot it. Just don't know how to fix it.
The dl, dt, dd problem is solved for the .post-info space (as above).
However, the space following the entry is actually caused by a blank date tag. The first post uses code in functions.php to assign CSS to the first.post so the date can be hidden (which also hides the date on subsequent posts in the same category, and on the same date. That works well for the first post but not for subsequent posts in the same category on the same date. The date div is still displayed.
I don't see an easy way out of that. Unless there's a way to put a .first-post CSS or something similar on all posts in that category only on the most recent date.
Sigh.
In the words of Roseanne Roseannadanna, if it's not one thing, it's always something.
ronnymac
—
Ron McElfresh
Honolulu, HI
—
http://mac360.com/
http://mcelfresh.org/
http://mcsolo.com/
http://pixobebo.com/
http://noodlemac.com/RonnyMacMemberYeah, this is a pain. I may park it somewhere for public view if my latest trial and error path doesn't pan out. A client wants the same dt, dl, dd linked list method in Daring Fireball.
The problem appears to be in dl, dt, and particularly dd. For a specific entry category the whole category's entry should be wrapped in a dl, then permalink and title are wrapped in dt, then the entry is wrapped in dd. That's not so easy to do in WordPress without major hackage. So, I wrapped the permalink and title and linked list link in a dl, with permalink and title link wrapped in a dt. The entry content was left alone. To validate the code there must be a dd, which would normally be the entry content itself. However, WP doesn't make it easy to drop in the dd CSS, so I simply added a blank dd -- <dd></dd>-- which validates. However, it seems that dd needs to be removed from the CSS to remove the dd space. Odd. But it works. I'm just not sure why.
😉
ronnymac
—
Ron McElfresh
Honolulu, HI
—
http://mac360.com/
http://mcelfresh.org/
http://mcsolo.com/
http://pixobebo.com/
http://noodlemac.com/RonnyMacMemberYes, the div is still output both for .post-info and .post-meta, whether the field contains information or not. However, completely removing .post-info and .post-meta from the CSS (all instances) still leaves the space, so something else it at play.
I don't want to remove_action yet, but would prefer to find out what the CSS is doing to cause the space. Reducing margin to zero and height to zero for .post-info and .post-meta will collapse the .post-info space, though not all the way. A healthy gap still appears.
ronnymac
—
Ron McElfresh
Honolulu, HI
—
http://mac360.com/
http://mcelfresh.org/
http://mcsolo.com/
http://pixobebo.com/
http://noodlemac.com/RonnyMacMemberDig into the hooks. I can't even spell PHP but I know how to copy and paste.
😉
ronnymac
—
Ron McElfresh
Honolulu, HI
—
http://mac360.com/
http://mcelfresh.org/
http://mcsolo.com/
http://pixobebo.com/
http://noodlemac.com/RonnyMacMemberI hear you. What we know and use is always a bit more comfortable than what's new and different. I find there's a 'hump' I have to go over whenever trying to use something new. If I keep plugging away there's the 'light bulb' moment and it's usually smooth sailing after that.
I looked around for about a year and tried different WP frameworks on a variety of sites. Everything from Thesis, to Headway, to Woo, to Gantry, to PageLines, to Elemental, Hybrid, and others. Most WP frameworks are decent these days. WP pretty much came of age about version 2.9, and has only improved since. Still, I was reluctant to make a wholesale switch to a single WP framework until I ran into Thematic. I loved that framework but the project's author was hired by Autommatic (the folks who run WordPress), and then I found Genesis. The Genesis themes are a bit boring and not as elegant as, say, ElegantThemes, but under the hood there's nothing better. Clean, fast, solid, dependable, and very customizable.
</plug>
ronnymac
—
Ron McElfresh
Honolulu, HI
—
http://mac360.com/
http://mcelfresh.org/
http://mcsolo.com/
http://pixobebo.com/
http://noodlemac.com/RonnyMacMemberSimple Hooks is wonderful. You have to understand how Genesis is laid out first. SH allows you to drop in short code, HTML, text, PHP and more almost anywhere within the page, and on any page. Genesis seems to be based on the old Thematic theme framework which included similar 'drop in' functionality to a theme. This is a very powerful function and the major reason I switched many sites from ExpressionEngine, Thesis, Headway, and Woo themes to Genesis.
ronnymac
—
Ron McElfresh
Honolulu, HI
—
http://mac360.com/
http://mcelfresh.org/
http://mcsolo.com/
http://pixobebo.com/
http://noodlemac.com/ -
AuthorPosts