Forum Replies Created
-
AuthorPosts
-
devParticipant
They want us to roll back to 2.2.3? Is that what you are saying?
devParticipantBecause I have a 'sensitive' client who depends on the website for their living and who was not happy with the breakage I applied the fix to the Gen 'core' file as posted above.
Worked great.
(My fault, I should have waited a few days before I did the update but I was 'in' the site's admin area to do something else and figured "Never had a problem with Gen before so 'go for it.'" )
What surprises me is that there has been no communication out of SP on their website or this board or anywhere else that I know of. These are the people who 'teach' good marketing and communication as one of their enterprises (Rainmaker?)
I got a chuckle out of reading Brian's Ask Me Anything piece yesterday where he said "As you know, Genesis is rock solid...."
I don't understand why there is no word... not even a tweet... out of SP.
devParticipantIn all the years I've been using Gen, it has never broken one of my sites... until now.
It's been about 8 hours since the problem was reported here so I'm kind of surprised that the SP folks have not fixed it and put out an update yet.
I see the fix above, but I don't like editing WP core files.
Just in case a Gen fix does not come around soon, how do you roll back to the previous Gen version... or can you?
February 9, 2015 at 4:46 pm in reply to: Drop-down menus not working in iPad – Parallax Pro Theme #140262devParticipantTry putting this code in the functions.php file.
Let us know if that fixes the problem.
add_filter( 'genesis_superfish_enabled', '__return_true' ); add_action( 'wp_enqueue_scripts', 'child_enqueue_scripts' ); function child_enqueue_scripts() { wp_enqueue_script( 'hoverIntent' ); }
devParticipantThere are two methodologies when it comes to choosing themes to build websites.
1. Use a theme that has a lot of functionality built into it by the designer/developer.
2. Use a theme that only has design and styling elements built in AND you use PHP code (hooks, filters, action, etc), shorcodes, and/or plugins to create functionality.
You could write a book (or at least a very long monograph) on the pros and cons of each approach.
Genesis is based upon the second methodology.
A lot of people think, "Well, if the theme has all these functions built in, it will be easier."
Most often it isn't... unless you use the same theme over and over! Every designer uses different code and a different interface to access the functionality they built in... meaning that you are learning over and over and over again as you change themes.
With Genesis, while there are some differences in the child themes, most of them are pretty much the same ("behind the curtain") and all you need to do is figure out what plugins to use or what code to write (or "borrow" as many of us do... and there is a ton of Genesis code out there.)
For example, say you want to put in a Facebook feed into the site. Well, there are probably a whole bunch of themes you could get that have this built in... and each one will do it differently.
With Genesis there is probably no theme you can get that has this built in and so you will find your favorite plugin to use (or ask here for suggestions) and you only have to learn it once. You will use it over and over for other sites you build. (BTW, we use https://wordpress.org/plugins/custom-facebook-feed/)
One advantage of the Genesis methodology is that it has a large eco-system of designers, developers, coders, and users in it... and just about anything you want to do has been done by one of them and they are more than willing to share their knowledge, code, plugin choices, etc. to anyone who asks.
You are not going to find that with some 'mega-theme' written by some guy living in a yurt in Bazerkastan. The theme may be terrific... but you are on your own in figuring it out.
Here you will find a knowledgable and friendly community to help you in figuring it out.
devParticipantLike with Susan, it works for me too. But I didn't see a slide with "shoes" so maybe taking that one out solved the issue?
devParticipantYou are indeed welcome.
DWB is a tool that works well for a large number of website 'solutions' but I don't want anyone to think that it would be the right tool everywhere. It will not replace the more complex themes offered by theme vendors who create for Genesis. As I said in the review it is very useful when you want to create a layout of your own design and don't want to have to become a Ph.D in PHP and CSS to do it.
A large part of our biz is doing sites for book authors and publishers. These are "creative types" (as opposed to your dental office or law practice) and the clients have their own ideas of what boxes they want where they want them on the site. But there is no way they can afford a designer to start with a white screen and add PHP code. And most designers (well, if not most, at least our little company) don't want to de-construct an existing theme to "make it work" as that can become a time-sink nightmare.
Thus, DWB solves the problem of giving that client the layout and colors she wants and we can charge an affordable rate because it's quick and "easy" for us to accomplish (OK, nothing is really 'easy' in web design, but you get my drift.).
devParticipantI did and got this very nice note back a few minutes after I sent it:
Sorry to hear you're having difficulty! I'm happy to help.
I just pulled your most recent forum post out of the spam filter - my apologies for the inconvenience. Sometimes when a thread contains a link, the system will flag it as spam even when it's a legitimate post.
If you have any further difficulty with that, please don't hesitate to let us know and we'll be glad to hunt it down for you. 🙂
Regards,
Andrea Whitmer
Customer Success SpecialistYou gotta hand it to the Copybloger people. Great support, good products, nice people.
devParticipantIf you give us some idea of what you want changed I'm sure you can get all the help you need for free. Maybe take it in steps, one change at a time. You will learn a lot and save some money as well. Talk to us!
devParticipant@Carlo
That's a great solution. What I didn't know is that Gen is loaded after plugin code. I would not have expected that... and I wonder why it is set up that way.I looked for over an hour for a work-around like you posted and didn't find one... and was really surprised. I'll give it a try next time I need a Gen function.
I like the Boilerplate Plugin. But there are zero docs to this new version and I'm not sure where to put my code... should I go an add functions to the main class or where? Or ust put it after run_plugin_name(); in the plugin-name.php file.
I'm probably in the minority here, but I think using object oriented methodology for a short plugin is sort of overkill and simply adds to the complexity of the project. However, for a large plugin like WooCommerce, I can see the advantages.
devParticipantThanks Brad. As always you are a fountain of great info. I took a look at it on github this morning and it is somewhat complex for the first-time writing a plugin.
I finally finished my plugin. It required that I use the genesis_register_layout() function. I really thought that because Genesis was loaded that WP would 'find' the function "by magic." Well, it didn't. So what I did was go into the Genesis code and copied the function and pasted the code into my plugin.php file and it worked fine.
So my question stands. What is the 'pro' way to incorporate Genesis hooks and filters, etc., in a plugin.
(And for anyone who needs to load a custom template file and you can't keep it in the theme folder (I'm using Dynamik which will wipe away anything upon update) I found some code to keep it in the plugin folder:
add_post_type_support( 'book', 'genesis-layouts' ); add_filter( "single_template", "ac_get_book_post_type_template" ) ; function ac_get_book_post_type_template($single_template) { global $post; $xdir = plugin_dir_path( __FILE__ ); if ($post->post_type == 'book') { $single_template =$xdir .'single-book.php'; } return $single_template; }
devParticipantThe Dynamik Web Builder theme (DWB) is quite nice and very useful in many situations.
For example, a client wanted a simple site... a header, a slider, two widget areas, and a footer.
Gen child themes today are jammed with so many widget boxes. It is very difficult to find a very basic, simple theme anymore.
We started with one and just "took out" the boxes we didn't need. In the Welcome area we loaded a page with two columns to simulate the two widget areas and then styled it.
Yes, we could have done it differently... lots of ways... maybe use two of the boxes on the child theme and resize them, etc.
Anyway, you would not think it a lot of work to re-engineer a child theme, but it is.
Since we had bought the Dynamik theme some time ago just to have it if we wanted it, I figured "Let's see how much work it is to use that instead," since client was not in a hurry to get site up
DWB let me easily create the exact layout I wanted (EZ 1,2 for those who use use the theme) and it will auto-gen a slider area and a footer if you want (via a check-box.)
It took a while to figure out what as what in all the setting areas (similar to Design Palate plugin but more extensive) because the documentation of them is truly lacking. There was some trial and error here... but then again there is a lot of trial and error when using a browser's "inspect element" facility to figure out what class to tweak in CSS.
When we did the site using the well-known child theme we had about 150 lines of CSS to style it. With Dynamic we had about 17 lines.... just about everything was done via the many settings.
And it took me a about half the time to do the site with Dynamik than by modifying a child theme and the results were exact.
Here is the site if anyone is interested (a work in progress): http://ruffdogbooks.com/wp/
(Loads slow because it is on a 'snail' server in the UK... client's choice, not mine!)Dev
(Usual disclaimers apply. We have no relationship with Cobolt Apps beyond being a paying customer and this post is not an endorsement, etc. It is just my individual reflection on the product in this situation. YMMV)devParticipantThanks so much for this link. It explained a lot. Looks like we can have sites of any reasonable width.
I've been using the Cobolt Dynamik theme which seems to default to 960 for some reason... but it lets you change to any width you want... and I was wondering if there was some secret sauce to what widths were better or best.
Thanks again.
Dev
November 21, 2014 at 9:55 pm in reply to: Can you put italics in part of a title of featured page widget? #132465devParticipantThanks, Brad. But I didn't see anything that would let me put some HTML or a class into the Featured Page widget title OR to keep it from stripping out any HTML in the title of the underlying page.
I can't figure out why the Featured Page widget strips out HTML in the page... and why it won't take HTML in its own title.
Is there another Featured Page Widget out there I could try?
devParticipantWow... that code worked GREAT.
Thank you SO MUCH!
I would not have thought to dive that deep into the nav bar. I thought it could be done with .nav-primary.
Learn new stuff each day.
Thanks again.
devParticipantWell, I spoke too soon. While the code in Like Box worked well in a sidebar at 1140 screen width, it was not responsive. I found that here are a zillion different ways to make this iframe responsive but none of them seem to have it totally right in my testing.
The Custom Facebook Feed plugin worked OK... except you don't get graphics unless you upgrade to their $50 per year deal which client thinks is too expensive for the one feature they want. We can live with the text-only portion.
devParticipant@nunotmp That Like Box code worked great. I popped the header stuff in the Genesis Settings Header box and the other code in a Text Widget and popped it in a sidebar.
If you want to see what it looks like it is at a work-in-progress site: http://curtischristinepress.com/wp/
I worked for a while trying to turn the headers from FB from blue to green but could not find the right CSS to do it. Sooner or later I'll figure it out. The blue does not go well with the site. The 'stuff' that works in Chrome's "inspect element" tool, did not work when put into the CSS file (I use a 'custom.css' file on sites which I slurp in with some code in functions.php.)
If anyone knows how to turn the blue to green, that would be great! But thank you so much for this Like Box. I would have NEVER found it. (And since the code is from FB, I'm sure it's safe and will work well... which is seems to.)
devParticipantWhat do you mean by a "Facebook Page?" vs. a "personal Facebook account"? She has a FB account for her book:
https://www.facebook.com/pages/Mommy-Loves-Baby/366034080200279?ref=hlWill plugin capture posts to above?
(Obviously, I'm not a FB expert!)
Thanks!
November 17, 2014 at 12:53 am in reply to: How to switch my current website to a Genesis child theme #131808devParticipantThis would be rather straightforward. I'd take a theme that already has a left, middle, and right widget area... like Executive Pro or Enterprise Pro, get rid of the slider or top area and put either text widgets or featured pages or posts in the three middle areas.... just stack them up in each area.
Another concept might be to use a portfolio plugin, or perhaps even an e-commerce plugin, but with those you would probably not get the uneven height 'random' look that you have now.
Finally, you could use the Catalyst theme to quickly build your 3 column homepage to stack widgets in or perhaps columns of widget areas.
Of course you are using a javascript code for the Facebook-like bottomless columns, which I think is poor design, especially if you ever want anyone to read your footer (and there is no way for someone to read it now, that I could find. One at the bottom, more pix always pop up.
Lots of options for you.
Dev
http://www. NewMediaWebsiteDesign.comdevParticipantI don't know Minimum Pro theme but if it is like other Gen themes, you can do this via CSS:
background-image: url("http://www.something.com/somefile.jpg");
background-repeat: no-repeat;This might go on the body selector container or in one of the widget areas.
-
AuthorPosts