Forum Replies Created
-
AuthorPosts
-
mborger
MemberI don't know -- I'm kind of at the frontier of my techie/coding knowledge here. I was thinking to create separate categories: Seller, Foreclosure, Buyer, Investor and then assigning each post to the appropriate category. I do want it in the same position on each post -- at the bottom of the body text; I don't want it as a widget because my width in the sidebar is limited -- if it's in the body then I have the full width to work with. Again, I'd like to mimic what Hubspot does at the bottom of each of their blog posts - I just don't know how to do it without manually editing the custom field for each individual post.
Seems to me like a custom field would be the right answer as long as I can have a previously coded set of code blocks that it can automatically pull from based on the appropriate category.
I'm open to suggestions.
mborger
MemberOk, making progress. I had to change the field name to afterpost. But if you look at bigrockinvestments.com/summer-real-estate-season/ and see it at the bottom, I'd rather it be above the "Filed Under" box instead of below it.
However, another concern is that with this method, this needs to manually done for every post. Let's say I have 30 posts regarding selling a house all using the same field code at the end of the post with a CTA to a seller squeeze page. In the future if I decide to change that text, image or CTA, I'll need to update it for every post manually and individually. This is what I want to avoid -- I want to set it once so that if I want to change the code in the future (ex. URL of squeeze page), I only have to change it one place. So if all posts regarding selling are somehow given a tag or category 'sell-house' then they get the appropriate code, those regarding foreclosure get a 'foreclosure' code, etc. Perhaps I even segment it into 'sell-house-1' and 'sell-house-2' and switch it up accordingly with the simple use of one tag or another. Then when I write a new post, all I have to do is assign it with the proper tag or some other means so that it automatically pulls the chosen code block.
mborger
MemberOk so I see my 'sellerpost' field in the Custom Fields section. The Value field is just blah blah text. But I don't actually see anything on the post.
The only other custom field is the Disqus with a numerical string in the Value field box.
So do I need to put something else in the Value box? Right now it's just text -- I ideally want text/images/formatting, etc, just like Hubspot does at the end of their blog posts. FYI, when I created the custom field via the plugin, I gave it the wysiwyg type.
mborger
MemberConfused but trying to follow along. I don't see any custom fields section at all. In the Layout Settings section, I see Custom Body Class and Custom Post Class - that's it.
Below that I have a separate section called Sellerpost only because, in the plugin, I created a field group with one field called 'Sellerpost'. The only Rule is that the Category must be Sell_House, which I attached my test post to. Doesn't show.
But ultimately I don't need a custom meta box (by meta, I assume you mean the section in the admin panel), so maybe I don't need the plugin? What I just want are to create a few (3 to 5) pieces of code that, depending on some flag of the post, will show up at the end, i.e. every post tagged/categorized/other-type-of-flag as a 'sell' type post will get the associated 'sell' block of code. 'Buy' posts get the 'buy' piece of code.
mborger
MemberYou were right - I had it in there twice. I took care of that, installed your plugin with some test 'blah blah' text of the wysiwig type but don't see it anywhere on the post. I created a new category, added my most recent blog post to that category (bigrockinvestments.com/summer-real-estate-season/) and cleared caches, but it's not showing up. Is there a step I'm missing? Another rule I need?
mborger
MemberThanks Brad and sorry for the delay - I'm in Japan at the moment.
I added the code to the end of the functions.php and got this error message:
Fatal error: Cannot redeclare custom_field_after_posts() (previously declared in /home/mborger/public_html/wp-content/themes/agentpress-two/functions.php:251) in /home/mborger/public_html/wp-content/themes/agentpress-two/functions.php on line 265I get what it means conceptually but I'm not sure technically how to get around it.....? I had to revert the php file to its previous version.
mborger
MemberHi Brad. Option #3 sounds like what I'm looking for. Thanks a lot for helping me with this. Most likely this will help out other users as well.
May 2, 2013 at 7:59 pm in reply to: Put Google Analytics Experiment Code In Header of Just Home Page #39015mborger
MemberHi Nick. I'm not sure if this the right place, but I have a similar concern. I'm trying to get Google Experiments to validate on a Premise page. When I try to validate on the GCE page, it says "No experiment code found" with a bubble saying the validation code needs to be in the first 256kb (not sure if that's the issue).
I do have the checkbox on the landing page checked to enable GCE and have the proper code in the Original page.
I thought I'd try another way and put the GCE experiment code in the page header. Using GSH, I put this code in the genesis_meta Hook where 5804 if the landing page ID (the GCE script is just copied from the Experiment page):
<!-- Google Analytics Content Experiment code -->
<?php
if(is_page(5804)) { ?>
<script>function utmx_section(){}function utmx(){}(function(){var
k='40228853-3',d=document,l=d.location,c=d.cookie;
if(l.search.indexOf('utm_expid='+k)>0)return;
function f(n){if(c){var i=c.indexOf(n+'=');if(i>-1){var j=c.
indexOf(';',i);return escape(c.substring(i+n.length+1,j<0?c.
length:j))}}}var x=f('__utmx'),xx=f('__utmxx'),h=l.hash;d.write(
'<sc'+'ript src="'+'http'+(l.protocol=='https:'?'s://ssl':
'://www')+'.google-analytics.com/ga_exp.js?'+'utmxkey='+k+
'&utmx='+(x?x:'')+'&utmxx='+(xx?xx:'')+'&utmxtime='+new Date().
valueOf()+(h?'&utmxhash='+escape(h.substr(1)):'')+
'" type="text/javascript" charset="utf-8"><\/sc'+'ript>')})();
</script><script>utmx('url','A/B');</script>
<?php }
?>
<!-- End of Google Analytics Content Experiment code -->GCE still won't validate saying it can't find the code. What else can I try?
Thanks,
Mikemborger
MemberI honestly can't recall, but there are a ton of free icon sets online.
mborger
MemberOr is there a place to change all the h and title fonts to be one font and the body text to be another?
mborger
MemberOk thanks. I think I get it now. I guess, in a nutshell, it'd be easier to say that I want to match the typography chosen in genesisframework.com onto my site bigrockinvestments.com . I just love the look -- it's so easy on the eyes. I want to make my posts and pages easier to read to hopefully encourage more user engagement.
So does this mean that I need to look up each individual h tag (1, 2, 3, etc), title tag, body tag, etc in the css with Firebug on that site and match it in my own? This is where I start to trip over myself.
mborger
MemberOr perhaps I'm thinking of it the wrong way. Instead of having to change the font for each of the H tags individually, maybe I need to make a more global modification somewhere that assigns one font for all the headings throughout the site and assigns another font for regular body text.
I really don't know, but the more I've been reading on my own, the more I'm beginning to think that the H tags are by default JUST about font SIZE..... ?
mborger
Memberbigrockinvestments.com
I see 'h1' 4 times in the style.css, sometimes just as a line item by itself without anything after it. I just don't know what purpose that serves when "h1" is the only text in the line, and how to use it to change the font assigned to the tag.
Thank you.
mborger
MemberThanks. I see it now in Firebug in the "Computed" box on the right in "font-family". But shouldn't I also see it in the "Style" box, i.e. in the CSS? I don't see where those fonts are being called. I really want to understand from the inside out how the fonts are implemented.
mborger
MemberWow, I didn't know it was such a known issue. The fact that it only happens on Google's own browser is quite ironic. I imagine I'll have this problem with all Google Webfonts from what I've just read on that link. Bummer. I've resorted to having to change the color of any text I would normally just boldface to make it standout.
mborger
MemberModerators - apologies. The previous post was a caching issue. Please ignore the update.
However my original query of wanting to understand the fonts for the site titles (and elsewhere) still applies and how to alter them.
Thank you.
mborger
Member*UPDATE*
BRI now has the same issue -- after upgrading to Genesis 1.9, the font of the site title changed. It's now much wider and takes up more horizontal space, overwriting the logo that I embedded on the header image. Please see:
Where can I change the font so that I can make it fit like the previous font before I upgraded?
Thank you.
mborger
MemberGot it - works like a charm. All I had to do was remove the 700px line -- the 250px line stays removed per your original suggestion. Thanks!
mborger
MemberThanks - I deleted the line and was able to get a 5th icon in the row. However when I add a 6th icon to the row, something strange happens -- the entire header gets move down about 5 lines or so, pushing down the rest of the site. Even if I duplicate an existing icon as the 6th, ex. another YouTube icon, it still happens. I can't explain it. FYI, I'm a Firebug novice :/
mborger
MemberThanks, but I had some problems with NextGen. Are there any other general image gallery plugins that are particularly popular with Genesis users?
-
AuthorPosts