Forum Replies Created
-
AuthorPosts
-
jkirkerMember
Hi Victor, thanks for your reply... I had tried that as well but I'm still not getting any love.
Here's my actual code.
if ($title2 > '') {
function assignPageTitle($title2) {
return $title2;
}
}
else {
function assignPageTitle() {
return "Inquire About ".$_SERVER['HTTP_HOST'];
}
}
add_filter('wp_title', 'assignPageTitle');With the above it's using the WP default page title.
If I toss an echo after the if condition to check if the value is > '' it echo's out fine.
Any other thoughts? I'm at a loss.
Thanks again for taking the time.
jkirkerMemberHi Gary, thanks for reaching out.
The site is currently in a development environment only accessible via VPN. ;(
The issue is that if you use Google conversion tracking code in the head it'll use a gif in the event JS isn't enabled - but it also ads a space pre-body even when you strip everything away which adds a line.
When in the footer, this isn't a big deal, but when in the header it's a problem. So I've got some scripts which I need to execute in the head and some on the foot, on a page-by-page basis.
Currently, we have a native option to add JS code to the head or the foot if we move the entire block. It'd be great if we could have the option to do either, again on a page-by-page basis.
So it doesn't look like you can directly address just the genesis_inpost_scripts_box, so I just installed a plugin which adds the functionality I needed and it's working OK - but with additional overhead.
jkirkerMemberThanks - I got it working. It was inserting a resized slide rather than the one I was selecting based on the size set in the admin. This post can be removed.
jkirkerMemberWe're having a bunch of friends over, smoking a big prime rib and cooking some tri-tip along with roasted potatoes and asparagus. Chocolate Soufflé for dessert. 😉
Here's a site I did a while back using Genesis to help people who like to smoke meat - http://meatsmokingcalculator.com
Regarding the New Year:
2012 was a strange year. It's been a while since I was so focused on the negative.
2013 - focus on the positives, read more, spend time re-educating myself rather than COD and most importantly, carve out more time for my wife, life and family.
Happy New Year Everyone!
John
-
AuthorPosts