Forum Replies Created
February 16, 2013 at 6:28 am in reply to: Working with a static home page with the Minimum Child Theme #20664
@Amber @chris01 @ecm123
I am still not 100% sure of what you want to display on your homepages — any screenshot, mockup/image or other sites with an URL would help. Otherwise, it’s too difficult or impossible to create customized “home.php” files for you or give more advice.
To further explain what the home.php file does in Minimum 2.0 (and lots of other child themes for Genesis):
- it’s some kind of virtual or dynamic if you want.
- it’s not a page like all the other pages
- you cannot customize it on the fly, only within code or replace with another customized home.php file.
To get rid of the blog posts in grid style at the bottom of the Minimum 2.0 homepage there have to be registered another widget area. In this area you then could place the Genesis Featured Page widget — to just display any page you want for home area… Or you combine it still with some posts using the Genesis Featured Posts widget.
Note, using a static front page via WP “Reading” settings replaces all pre-configured layouts/functionality.
I suggest to use a customized home.php — if you want this example that I explained above I can post you the code for that.
In general, I can understand your frustration! However, this is a community forum and answers are just guaranteed – we do this all in our spare time…
By default NONE of the official Child Themes by StudioPress does modify the comment display to “none” etc.
It must be something on your install.
Just to clarify: comments are enabled in WordPress > Settings > Discussion? And also the display of comments is enabled for Posts & Pages in Genesis > Theme Settings?
Did you make any modifications in your child theme’s functions.php file — added any snippets or something?
Since your blog post DOES show the comment section I assume the page display is still disabled in Genesis or there is any other modification active?
There are so many possibilities with them so where to begin?
I just googled a few links:
–> seems to come close, what you want to to, I guess
From the WordPress Codex:
http://codex.wordpress.org/Function_Reference/get_avatar —> also important for your template!
I’ll suggest you try learn more how WP does it and what are the template functions.
Hope that helps for the moment.
The “issue” here is – I wouldn’t say it’s an issue since it’s regular WordPress & Genesis behavior – that plugins just hook into “the_content” action hook, WordPress provides and place in their stuff. If you use this with lots of plugins things can go out of control, i.e. the get stuffed at the end of your content section or anywhere in between…
To achieve what you want – if I understood correctly – is, to place anything for sharing etc. but after the in-page pagination links, right?
I’ve just tested this myself with some custom HTML code in combination with a Genesis hook, and worked like a charm for me
Here’s my code snippet:
You should place this in your child theme’s functions.php — at the bottom, and without the opening “< ? php"!
As is it does nothing, as I commented out the two examples for custom content: remove the 2 slashes to un-comment and use either line of them. The first line with "echo" is for placing HTML code, for example from external services. The second "echo" line is echoing a function, for example from a plugin. You have to change both appearances of "function_name_here" to the actual template function from the plugin. And also uncomment the 2 slashes before the "echo".
I'd suggest to NOT use "Simple Hooks" plugin here, as in Simple Hooks no priority could be set up.
With my function, you can change the priority at any time, if needed, like so:
add_action( 'genesis_post_content', 'ddw_custom_content_after_pagination', 11 );
—> lower priority
add_action( 'genesis_post_content', 'ddw_custom_content_after_pagination', 9 );
—> higher priority
Before you use this way here, make a BACKUP of your functions.php file! Also, make sure that no other code snippets in Simple Hooks are placed in “genesis_post_content” hook. If so, please make a backup of them and remove them before continuing.
Hope that helps, Dave
February 4, 2013 at 9:19 am in reply to: Need this code on bbPress Forum & Topic Pages Only #17852
I’ll post that later on on this bbpress.org forum
Yes, you can change the hooks from bbPress but make sure they belong to the loop. bbPress has so many hooks just try another one that better fits your needs. Most of them are not documented yet, I always look into the very source code…
I hope I understand your point correctly.
Just on the go, might check it later this evening again…
February 4, 2013 at 7:57 am in reply to: Need this code on bbPress Forum & Topic Pages Only #17824
You have to make sure to not hook this in globally but only on bbPress pages.
So I have come up with this solution:
Place the code in your functions.php or a functionality plugin. (without the opening “< ? php" please!)
This displays it at begin of single forums view, at begin of single topic view (also for lead topics!).
If you want to display on every reply then you have to uncomment the included line with the action hook.
Otherwise comment out any action_hook line that you don't want to use.
Just tested this code myself and was working great
Is it possible to point us to the website URL?
Just updated the plugin to version 1.1.0 http://wordpress.org/extend/plugins/genesis-extra-settings-transporter/
- added a few more plugins & child themes for support
- added/ improved help text info, also in plugin’s readme
January 29, 2013 at 9:20 am in reply to: Balance Theme: display featured left & right widgets sitewide #15970
I also took the code from http://pastie.org/5850228 into a “Balance” test install and placed at the bottom of functions.php and it was working immediately!
Logically all is ok with the code, so there could be something other in your install beside the syntax that is conflicting? Maybe you have other code snippets that hook in via the hook “genesis_after_content”?
Hope this helps, Dave
To add another response to the actual technical issue:
I just oversaw the source code of this plugin and IMHO there’s a bug with the “order” setting option not being set, “order” means “ascending” or “descending” according to WordPress codex. The option setting for “orderby” seems all correct (that’s the drop-down in the slider admin settings). In my opinion the issue herein lies this way that the order has to be enforced with the “order” option.
I’ll just ping the developer…
Have you posted in the plugin’s support forum yet? http://wordpress.org/support/plugin/genesis-responsive-slider
And, regarding your feedback to StudioPress, I’ll suggest creating a support ticket!
Mmh, you know what? I see your buttons and the CSS seems to apply, at least I see it in Firefox 18 with Firebug inspector. If I for example disable the float for Twitter in Firebug I see changes…?
If something is not applying maybe add “!important” to the CSS values. Or, have you any cache plugin active in your install? Or any browser cache issues?
(I hope I understood your issues correct)
Thanks for the feedback!
The issue seems to be still there: it seems to happen especially when I am open a topic from the no-replies view or from a forum search. I open the topic into a new browser tab, then answer, then I get the 404…
If I go to topics with the forums hierarchy all seems to work (now).
I know it’s strange but maybe you’ll find out something more. If not; I could live with that, as long as no functionality itself is “broken”.
Thanks for your hard work, Dave