Forum Replies Created
-
AuthorPosts
-
January 1, 2014 at 7:05 pm in reply to: How can I add a bottom section, that stays fixed, just like I see on SP Demos. #82585garymgordonMember
Sridhar,
Thanks!!
Gary
Gary M. Gordon
http://www.wpbns.com/ – Web, Podcasting, Broadcasting, New Media and Internet Marketing ServicesJanuary 1, 2014 at 1:03 pm in reply to: How can I add a bottom section, that stays fixed, just like I see on SP Demos. #82527garymgordonMemberSridhar Katakam
Since you are also familiar with Builder (from iThemes) can you answer this.
Since I am using:
Just changed it to:
add_action(‘genesis_after_footer’, ‘buy_now_button_fixed’, 10);
function buy_now_button_fixed() { ?>
<div id=”fixed-footer”>
Whatever you want to show in the area would go here – I used a widget area but you could use HTML.
</div><?php
}with the Genesis theme, ...
what changes would I need to make to simply target the appropriate function (similar to genesis_after_footer) in Builder.
Is this possible? If so, can you explain what change I'd need to make for use with Builder themes?
Thanks,
Gary
Gary M. Gordon
http://www.wpbns.com/ – Web, Podcasting, Broadcasting, New Media and Internet Marketing ServicesJanuary 1, 2014 at 12:43 pm in reply to: How can I add a bottom section, that stays fixed, just like I see on SP Demos. #82520garymgordonMemberYes. Thanks! All good.
Gary M. Gordon
http://www.wpbns.com/ – Web, Podcasting, Broadcasting, New Media and Internet Marketing ServicesJanuary 1, 2014 at 12:38 pm in reply to: How can I add a bottom section, that stays fixed, just like I see on SP Demos. #82516garymgordonMembernutsandbolts,
I got it working. 😉
Just changed it to:
add_action('genesis_after_footer', 'buy_now_button_fixed', 10);
function buy_now_button_fixed() { ?>
<div id="fixed-footer">
Whatever you want to show in the area would go here - I used a widget area but you could use HTML.
</div><?php
}QUESTION: What is the reason for the number 10 being passed into the function?
I see if I remove the " , 10 " from the add_action('genesis_after_footer', 'buy_now_button_fixed', 10);
that everything still works fine. But I was curious why you had this. Is there something that the 10 does or did in your case?
And just a comment, the lines in your CSS similar to " // keeps the area glued in place " (that you displayed to indicate a comment in the CSS, was breaking the CSS) So I removed these and now all is good.
Gary
Gary M. Gordon
http://www.wpbns.com/ – Web, Podcasting, Broadcasting, New Media and Internet Marketing ServicesJanuary 1, 2014 at 12:19 pm in reply to: How can I add a bottom section, that stays fixed, just like I see on SP Demos. #82510garymgordonMembernutsandbolts,
I understand, but can you explain "what parts" (specifically) of the php code you provided will need to be changed, how and why, so I can make the required modifications?
Gary
Gary M. Gordon
http://www.wpbns.com/ – Web, Podcasting, Broadcasting, New Media and Internet Marketing ServicesJanuary 1, 2014 at 12:12 pm in reply to: How can I add a bottom section, that stays fixed, just like I see on SP Demos. #82504garymgordonMembernutsandbolts,
I tried placing your php code, and the site then wouldn't display.
Question.
You provided the php of
add_action('genesis_after_footer', 'buy_now_button_fixed', 10);
function buy_now_button_fixed() {
<div id="fixed-footer">
Whatever you want to show in the area would go here - I used a widget area but you could use HTML.
</div><!-- end #fixed-footer -->
<?php
}
}1. I see you havea reopening of the php tag, but in your code, I don't see a closing of the php tag. So, why is it reopening (without a prior closing)? Can you explain why?
2. I also see two closing brackets " } " at the end, but I only see one opening " { " bracket in your php code. Can you explain why there's two closing brackets at the end, but only one interior opening bracket?
Just not sure why the current code breaks my site. Can you confirm the code you provided?
Thanks,
Gary
Gary M. Gordon
http://www.wpbns.com/ – Web, Podcasting, Broadcasting, New Media and Internet Marketing ServicesJanuary 1, 2014 at 11:25 am in reply to: How can I add a bottom section, that stays fixed, just like I see on SP Demos. #82497garymgordonMemberThanks all. 🙂 This is perfect.
Gary M. Gordon
http://www.wpbns.com/ – Web, Podcasting, Broadcasting, New Media and Internet Marketing ServicesDecember 31, 2013 at 12:58 pm in reply to: Using Executive Pro theme. How to make "logo" area larger?? #82354garymgordonMemberBrad,
I tested it .. and found I needed to modify the css for both:
.header-image .title-area, .header-image .site-title, .header-image .site-title a
max-width: 260px; // to what I need.
min-height: 100px;and also adjust:
.site-header .widget-area
width: 820px; // to accommodate for the above change.So .. thanks!!
Gary
Gary M. Gordon
http://www.wpbns.com/ – Web, Podcasting, Broadcasting, New Media and Internet Marketing ServicesDecember 31, 2013 at 11:01 am in reply to: Using Executive Pro theme. How to make "logo" area larger?? #82315garymgordonMemberThat's it. It will then adjust everything so the navigation bar doesn't pop down below it, etc.? So, if I make these two changes, in the css and functions.php file, I'll be able modify the header width and height area .. and everything else will float around it normally as it does now? Just wanted to confirm this.
Thank you very much for your quick response.
Gary
Gary M. Gordon
http://www.wpbns.com/ – Web, Podcasting, Broadcasting, New Media and Internet Marketing ServicesgarymgordonMemberThanks!!
Gary M. Gordon
http://www.wpbns.com/ – Web, Podcasting, Broadcasting, New Media and Internet Marketing ServicesgarymgordonMemberslempke,
I haven't heard back from the developer. Still waiting. When I get an answer, if the developer doesn't post it here, I'll be sure to do so.
Gary
Gary M. Gordon
http://www.wpbns.com/ – Web, Podcasting, Broadcasting, New Media and Internet Marketing ServicesgarymgordonMemberI emailed the developer of the theme and requested advice. I hope to hear back shortly.
Gary M. Gordon
http://www.wpbns.com/ – Web, Podcasting, Broadcasting, New Media and Internet Marketing ServicesgarymgordonMemberAnitac,
Didn't find it there either. I looked everywhere, but can't find it. 🙁
Gary
Gary M. Gordon
http://www.wpbns.com/ – Web, Podcasting, Broadcasting, New Media and Internet Marketing ServicesgarymgordonMemberAnitac,
Thanks. I tried this, but maybe it doesn't work with WP 3.6.
It says "After installing the plugin you will be able to find the “Responsive Header” menu under the Genesis menus item in your dashboard. This will bring up a simple settings screen." But after installing it, I don't see this.
Any thoughts?
Gary
Gary M. Gordon
http://www.wpbns.com/ – Web, Podcasting, Broadcasting, New Media and Internet Marketing ServicesJuly 24, 2013 at 2:13 pm in reply to: Can StudioPress Themes allow me to do what I do with iThemes Builder? #52312garymgordonMemberRiavon,
Thanks. I'll contact them for more info.
Gary
Gary M. Gordon
http://www.wpbns.com/ – Web, Podcasting, Broadcasting, New Media and Internet Marketing ServicesApril 26, 2013 at 4:26 pm in reply to: Need help ASAP. Need to not collect author and ip from comments. #37966garymgordonMemberEssaySnark,
Yes. I'm running that as well, so when it emails the form to other users, it won't send the details.
But my issue is, we truly want comments, when submitted anonymously .. to be anonymous (so that WordPress wouldn't even "try" to capture the author info or ip info of the author). Because as the admin .. I get an email when each comment is made and .. I see the info (even though using Comment Emailer helps for other moderators that may be involved).
Brad offered to write a custom script to help with this. I'm just trying to find out if the client wants to spend anything to truly get this done. I was trying to find a solution that wouldn't involve any cost. So, .. I'll wait and see.
But thanks!! To both you and Brad.
Gary
Gary M. Gordon
http://www.wpbns.com/ – Web, Podcasting, Broadcasting, New Media and Internet Marketing ServicesApril 26, 2013 at 12:24 pm in reply to: Need help ASAP. Need to not collect author and ip from comments. #37893garymgordonMemberbraddalton
Sorry I did reply earlier. Here it is again ...
I am not wanting to remove the author and IP fields from the form.
The author and IP information is being captured and pulled in automatically when someone fills out a comment on post.
I do not want WordPress to capture the Author info or the IP info. I want to stop WordPress from capturing this and sending it to me when a comment is filled out.
If possible, please email me offline at [email protected]. Some of what I want to discuss I don’t want included publicly in the forum. Is that possible?
I'm looking to stop WordPress from capturing and storing this data.
Gary
Gary M. Gordon
http://www.wpbns.com/ – Web, Podcasting, Broadcasting, New Media and Internet Marketing ServicesApril 26, 2013 at 5:13 am in reply to: Need help ASAP. Need to not collect author and ip from comments. #37809garymgordonMemberThis reply has been marked as private.April 24, 2013 at 9:52 am in reply to: Problem with Education Theme (v1) with Newer / Older Comment link. #37421garymgordonMemberI don't know why, but I had:
if (!function_exists('iweb_reverse_comments')) { function iweb_reverse_comments($comments) { return array_reverse($comments); } } add_filter ('comments_array', 'iweb_reverse_comments'); in my functions.php file. I removed this, and then it is fine.
Gary M. Gordon
http://www.wpbns.com/ – Web, Podcasting, Broadcasting, New Media and Internet Marketing ServicesMarch 28, 2013 at 6:01 am in reply to: Responsive Slider w/Agency – Continue Reading Button (not looking right) #31708garymgordonMemberThanks.
Andrea's comment "There must be a blank line both above and below the more tag." fixed the issue. I just didn't see this in the instructions. So that's why I missed it.
Gary
Gary M. Gordon
http://www.wpbns.com/ – Web, Podcasting, Broadcasting, New Media and Internet Marketing Services -
AuthorPosts