WordPress Hacks and Tricks How to Remove WordPress Admin Bar I never use the WP Admin Bar and have this code as part of my WordPress themes. If your theme doesn’t already have the option to disable the WordPress Admin Bar add this code to your functions.php file. <?php add_filter('show_admin_bar', '__return_false'); ?> How to Add Custom Content to WordPress Login Page Want to display a customized message as you login to WordPress, add the following code to your functions.php file. <?php function str_custom_login( $message ) { if ( empty($message) ){ return '<p class="message">Totally Rad Message Here…</p>'; } else { return $message; } } add_filter( 'login_message', 'str_custom_login' ); ?> Cleaning up the wp_head() Output In my Stallion SEO WordPress and Stallion […]
Continue Reading WordPress Tips
Faulty AWeber Form
I have recently been getting a faulty AWeber Form. It shows correctly when previewed through WordPress but when the site is visited, there are numerous heading frames showing around the webform and the wording of the header is incomplete and masked by the frames.
I am currently using WordPress 3.0.4
If you would like me to send you a screen shot please send me your email address.
Faulty AWeber Form
Aweber Form HTML Code Problem
The issue is the HTML within the Aweber form is inheriting the styling of the Talian 5 themes style.css file, specifically some styling related to the HTML tag span.
It’s an oversight on my part when I edited the menu headers to be better SEO’d from an H3 header to span and didn’t give them a class (we didn’t have text widgets at the time).
It’s fixed in version 6 (given them a CSS class) that will be released soon (before the end of this month I hope). In the meantime the simplest solution would be to change the Aweber form to one that doesn’t use span within it’s javascript code, the current Aweber form has 3 span tags each of which is using the header styling, hence the three red blocks. The spans in the form aren’t doing anything important, just fonts, if you can edit the forms at HTML level should be easy to fix (quick look at the HTNL and looks like you don’t need the font styling of those span tags).
I tested the form in my development site with version 6 pasted into a text widget (did you add the form by editing a template file, if so you can use a text widget to paste code now) and the styling issue isn’t a problem, but the form is on the wide side as well for the sidebar, 200px is around the max width and that form looks around 230px. So you’d need to use another form if you don’t want it hanging over the side of the sidebar.
Going to be working on more sidebar options soon (just added Chitika ads today to version 6) which should give more sidebar layouts that would fit bigger forms and ads.
David
Aweber Form HTML Code Problem
AWeber Web Form Widget
Dave,
I used the AWeber Web Form Widget to load it to the site. I have tried using the HTML and adding it to a text widget, but the form itself does not appear under the heading but is pushed out to the right making another column. I have reduced the form width to 200 but that does not seem to help. Any other suggestions apart from waiting for the version 6.
AWeber Web Form Widget
Aweber Form CSS Code Clashes with Theme CSS
That Aweber form won’t work with Talian 5 because of the span tags within the code. Not familiar with Aweber, are there no other forms to use?
Actually just remembered had another customer with a problem with their Aweber form being too wide. Just looked at their code and they used a different form with different format that didn’t use span tags.
My guess would be you have more than one option for creating a form with Aweber, fully javascript (what you used) and javascript plugs HTML (what the other customer used). If that makes any sense for when you are creating a form try the other setting and if there’s any span tags in the HTML code edit them. The form you have at the moment will probably look fine without the span tags, so if there is another way to generate the code use that and remove the span tags.
I’m planning on getting an Aweber account soon, will be using it with the Stallion SEO Ad Theme for making updates and announcements more automated. So by the end of this month will be able to have a look at what sort of forms Aweber can generate as will be using them myself.
Beyond that it’s waiting for Stallion 6 which is coming on really well. I’m uploading the theme as I add new features to the above site. You can see some of the new features like Chitika ads, new placements for AdSense ads, header images, turn on/off the search form, position the tagline in the footer, Facebook widget and Facebook Like button for each post, custom comment titles (you and visitors can add a title to comments) and comment pages built in (no plugin needed now), added support for a related posts plugin that adds thumbnails to the related entries, built in automated thumbnails for posts on the home page (grabs the first image of a post and adds it as a thumbnail:, it’s not perfect, but should work well with the Massive Passive Profits plugin) and loads more features you can’t see.
Still aiming for a release by the end of this month, keep finding new features to add which takes time to code and test etc… For example there’s theory that our AdSense earnings go up if you only show AdSense ads to search engine visitors (I’ve not tested the theory). Basically the theory is repeat visitors don’t click ads, but showing them ads decreases the CTR and enables smart pricing which means an ad you might make a $1 a click from is reduced to 10 cents! I’m thinking of coding the ability to only show AdSense ads to search engine visitors and see how it goes: if the theory is correct I expect on some sites (those suffering from smart pricing) it will increase revenue and on others (not suffering from smart pricing) it will decrease revenue.
David
Aweber Form CSS Code Clashes with Theme CSS
How to Open WordPress Links in a New Window?
David,
Is there a way to have “links” in the Link Category on the left sidebar open up onto a new page other than leaving the the original website?
Thanks,
Randy
WordPress Menu Link Open in New Window Tutorial
Under your WordPress Dashboard on the left menu click
Links
For each link you want to open in a new window hover over and click Edit.
Under “Target” tick “_blank” followed by the “Update Link” button.
Do this for all links you want to open in a new window.
Be aware some people, especially many webmasters hate to have a new window forced on them (that’s what right click, open in new window is for) so if your target audience are webmasters think twice before using target=_blank, is it going to irritate anyone?
Take the Talian 5 options page, there’s links to relevant information on how to setup various options, the last thing you want is to click a link and leave the options page while you are setting it up, so I’ve used target=_blank. I generally wouldn’t use it for a blogroll link just to keep visitors on my site a little bit longer.
David
WordPress Menu Link Open in New Window Tutorial
Add YouTube Videos to WordPress
David,
3 Questions?:
1. How can I add a video from youtube into the Talian 05
Massive Passive Profits pages?
2. Every time new content is added to the Talian 05/MPP pages should the “TAGS” area update by itself with the new tags on each page?
3. I’m using the “6GAT Recent Articles” widget right now but is there another widget that will post more recent articles than the 6GAT?
Thanks,
Randy
Add YouTube Videos to WordPress
How to Embed YouTube Videos into WordPress
To add a YouTube video to a post. Edit the post and paste the embed code you can get from YouTube into the post. I use on sites with a fair number of YouTube videos, makes adding them easier and allows for them to be added to comments like at the Political Videos page on my politics site.
Tags depends on your setup. If you manually create a new post no tags will be added, you have to add them manually. The MPP plugin can generate tags for posts, so those pages might have tags if you’ve selected that option. There’s also Tag plugins that will automatically generate tags (I don’t use any, so have no recommendation).
What do you mean by more recent articles? A recent articles the last ones posted, so you are limited to when an article was posted date wise (the recent ones are listed).
David
How to Embed YouTube Videos into WordPress
Add an Aweber Opt in Form to WordPress?
Hi David,
I bought your Talian theme a few weeks ago and like it a lot. Can you help me with adding an opt-in form to it? When I put it on my site I can not seem to get it to line up under the title, it shows up off to the right. (I used the text box and Aweber if that has any bearing.)
thanks,
Mike
Aweber Form CSS Styling Breaks Theme Layout
The Aweber Form styling you’ve used will be either centering the form or giving it padding/margin/border that’s pushing the form across to the right. Also see a float right.
Near the top there’s some code:
Change right to left and it might make a difference
If that doesn’t work look at the padding values, especially padding-left, there’s some 15px padding left which will push some elements 15px to the right.
Aweber does make it’s code very complicated, talk about over the top! When using WordPress you could probably strip out most of the CSS coding associated with the Aweber Form and use the styling from the theme you are using.
David
Aweber Form CSS Styling Breaks Theme Layout
How to Add an Aweber Autoresponder to WordPress Comments?
Hi!
Attention! Please Help!
How can i integrate my aweber autoresponder in the comment page of the talian wordpress theme?
my subscribers ignore the aweber form and use the comment box of the talian theme instead.
I would like to integrate or replace the comment box with my aweber autoresponder.
Thanks
How to Add an Aweber Autoresponder Code to WordPress Comments?
You could add an Aweber form above the comment form by editing the template pages single.php and pages.php
Find the line:
And above it add your Aweber code.
That should put your Aweber form above the comments form on the single posts and static pages.
If you only want the Aweber form turn comments off on the site.
David
How to Add an Aweber Autoresponder Code to WordPress Comments?
How to Get Subscribers with an Aweber Autoresponder?
Hi!
I am having trouble with the comment page, I followed your instruction, (Template Creator) but its not working, subscribers just ignore the Aweber form and fill in the comment form with their details. (they always like to comment! and their feedback helps)
I need to have them in the autoresponder.
Is there no way the aweber form can be integrated with the comment template such that they just fill in the comment form but their details goes to my aweber autoresponder?
Please help!!
How to Get Subscribers with an Aweber Autoresponder?
Aweber Mailing Lists and Collecting Email Addresses
You have to appreciate most visitors won’t want to sign up to be added to your mailing list, most visitors won’t even make a comment which can help a site grow. for example I do no work at Conspiracy Theories and Hoaxes, but there’s a ‘community’ developing there in the comments discussing conspiracy theories.
I’ve not used Aweber (plan to) but think what you describe would probably not fall into acceptable use. If a visitor tries to comment and instead is signed up for an Aweber mailing list, Aweber’s going to get complaints.
BTW You’ll find a lot of email addresses used for comments are fake. You might also find if you collect email addresses in an unethical way your email address (used for sending your Aweber emails) will get listed on email SPAM blacklists. For example one of my theme customers added my email address to their list (send me the usual buy this SPAM). Sent the person a warning after which marked all emails received as SPAM and now I don’t see them. If this person does this to enough people who have the same approach I have, their email address will be blacklisted.
David
Aweber Mailing Lists and Collecting Email Addresses
Aweber Autoresponder Tutorial
Thanks Dave,
That puts me on my turf and on the right track!
I appreciate it!
How to Add Tables of Data to WordPress Posts?
Hi Dave,
I was wondering whether you (or somebody reading the comment), could please give me some ideas with two challenges I’m dealing with:
(1) What’s the best way to publish tables of data?
I have a website, about lists of related words (let’s say I’m publishing tables with several data classified by topic), when I want to publish a post, I create a table which is 7 or 8 columns width. I use Excel, but when I paste it on WordPress (the columns lose their width and are not in the correct format), so I have to re-size them within the post area, etc, etc (it’s a lot of work). My workaround has been using the same table in Excel, but then I create an image, and I post the image (too much work though).
(2) The second thing has to do with SEO and the impact when publishing these many tables of related-data (but not keyword-wise data) on my blog. Let’s say my keyword is “pink cars”, but in my post there is a brief comment introducing the “pink cars” information that I’m going to present (5 lines max), then the rest of the post will be only statistical data about “pink cars” that will be useful for my readers. What’s the best why to handle it and still keep good seo practices? The workaround I’m thinking is also about using images with the alt tag, names using my keyword. Any ideas?
Thanks
Héctor
btw: you got my email, let me know when/if you open an Affiliate program. Your themes are really, really, really good stuff.
How to Add Tables of Data to WordPress Posts?
SEO Tip : Hide Text You Don't Want Indexed by Google as an Image
Can’t help with problem 1, not tried to do something like that.
The SEO question is an easy one, if you don’t want the data as indexable text because it will add nothing SEO wise use images. Like you said you can add relevant alt text to the images which will add to the pages SEO.
Another solution would be to use an iframe to serve the data, but it’s more work to setup. You’d make a stand alone HTML page that contains the table and show it on any page you like via an iframe.
I used this technique over 5 years ago when I was building a network of classic literature sites with a book like format. Each book could have hundreds of pages and had I included links within every page with anchor text Page 1, Page 2, Page… Page 100 you can imagine how damaging SEO wise all that anchor text would be!
Example Arthur Conan Doyle – The Mystery of Sasassa Valley, the “Pages Of this Ebook.” menu item is within an iframe. That books only 6 pages, but some are hundreds of pages.
Thinking about it that could also help solve your problem 1, you’d format/style the table outside of WordPress (wouldn’t use the styling of the theme), so as long as you style the table data to fit in an iframe that works with the theme layout (around 500px in width) it should work with no problems.
I don’t think I received an email from you, if it was more than 24 hours ago I’d have responded by now (responding to emails within 24 hours).
If it was about the Stallion Clickbank affiliate problem I should have that running within a week. The update (Stallion) is pretty much complete, just finalising some protection so the theme can’t be easily edited and sold by others and make it so only customers can use it (I’ll be able to put the zip file on the site for a free download, but only paying customers can activate it). Plan is to test the theme on 20+ of my domains and if no problems send the theme to all Talian customers. If no major issues are reported activate a Clickbank affiliate program (it’s setup, just need to activate it). If things go wrong end of the month, if everything goes well within the week.
David
SEO Tip : Hide Text You Don't Want Indexed by Google as an Image
Use Google Docs to Publish Data in WordPress
Hi Hector.
I would use Google docs to publish data. It’s virtually the same as an Excel spreadsheet and all you have to do is publish a link for someone to browse it.
I created some in Excel and then just copied the cell formulas into the Google doc.
Good luck.
Nigel
How to EASILY Add Tables of Data to WordPress
Typical, I come up with a really complicated solution and didn’t think of the easy/obvious way :-)
David
Adding Tables of Data to WordPress via iFrames
Hi Dave & Nigel,
thanks for your feedback:
Nigel’s suggestion it’s easier, my concern about it is that I’m sending the readers out of my blog, which I don’t want to. I’d prefer keeping them on my blog.
Dave’s iframe suggestion, it’s more complicated, but more practical than using images. So what I did:
– I created a new page-template, and after
I added
Where test3.htm is an html page where I’m pasting the information from Excel.
The only issue I’m having (need to google about it) is when formatting the excel table! which sometimes is wider than 550px
Adding Tables of Data to WordPress via iFrames