Paul Kaiser
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Page with category not showing excerpt in post listingsHowdy,
Did you check the plugin options? I don’t have time to install it and test, but looking at the plugin code real quick:
if (get_option('merlic_filtercategory_show_as') == 'excerpt') { $content = $mypost->post_excerpt; $content = apply_filters('the_excerpt', $content); $output .= '<p>'.$content.'</p>'; } else { $content = $mypost->post_content; $content = apply_filters('the_content', $content); $output .= '<p>'.$content.'</p>'; }Seems it is looking at an option setting to determine whether to show excerpt of content.
Also… not sure why you’re not getting at least one of the two. Have you made changes to the plugin on your end?
Take care,
PaulForum: Themes and Templates
In reply to: help with alignment of side barActually that one is not a visible image… but the visible images are done the same way, with a div with inline styles. Check out the source and you’ll see.
Forum: Themes and Templates
In reply to: help with alignment of side barHowdy,
It is a style applied directly to the <div> element, rather than being in your stylesheet. If you don’t already, you should install Firebug for Firefox or use Chrome developer extension (F12)
Anyway, here is one example from the page:
<div style="overflow: hidden; position: absolute; width:575px; height:79px; z-index:1;"> <img width="1" height="1" border="0" alt="" src="/home/jamiefly/public_html/wp-content/plugins/protect-content/protector.gif" title="Image Protector"> </div>So, that <div> needs:
a. remove position:absolute;
b. add margin:0 auto;Best,
PaulForum: Themes and Templates
In reply to: help with alignment of side barHowdy,
On those images (actually I did it on their containing divs:
1. Give them margin-left:auto; and margin-right:auto;
— This will center them insider their containing div.
— It is important for them to have a specific width, which you already have on them. Don’t remove that width.2. You probably need to drop the “positioning:absolute;” for this to work.
Good luck. Looks cool.
PaulForum: Fixing WordPress
In reply to: Custom post Types and CategoriesAh, so you want to control which categories different authors can post to, based on the authors’ assigned role?
You might try:
http://wordpress.org/extend/plugins/advanced-access-manager/I’m not certain that was it, but there IS a plugin in the repository that lets you restrict specific categories to specific roles.
Paul
Forum: Themes and Templates
In reply to: help with alignment of side barFantastic, Jo. Keep on truckin’.
PaulForum: Fixing WordPress
In reply to: Two whole separate installs, not "multisite"Does Wamp have an options panel where you enter the different domains you are hosting locally?
If it does, then for each domain, it should allow you to specify what directory the domain points to (this is really setting up your virtual hosts configuration for apache)
So, really… that’s what you need, is to figure out how Wamp supports virtual hosts.
Here, these folks are already talking about it:
http://www.trailheadinteractive.com/creating_multiple_virtual_sites_a_single_apache_install_windows_xpAlternatively… uWAMP has a nice interface for this:
http://www.uwamp.com/ but uWAMP hasn’t been updated in a while.Good luck,
PaulForum: Fixing WordPress
In reply to: Custom post Types and CategoriesHowdy,
Sure, you can create a custom taxonomy, and then in your definition of the custom post type you can tell it to use that custom taxonomy.
Creating taxonomy:
http://codex.wordpress.org/TaxonomiesRegister Post Type:
http://codex.wordpress.org/Function_Reference/register_post_typeIt can be rewarding / educational to do all that yourself, but there are also some really good plugins out there to help you speed this up.
One I use is:
http://wordpress.org/extend/plugins/custom-post-type-ui/Good luck,
PaulForum: Fixing WordPress
In reply to: Hosting issueHowdy,
Sounds like you’re just running in to resource limits.
Options:1. Sign up for multiple hosting accounts and split your domains up between them.
2. Sign up for a VPS or dedicated hosting account so you don’t have these limitations.
3. Considering the inode limitation… do you have a lot of files you don’t really need? Like… with 500 websites or so… are there themes in those installs you don’t need? Plugins that aren’t actually used? Log files that are unmanaged and clogging up the works?Good luck,
PaulForum: Fixing WordPress
In reply to: How to display a featured image by querying a specific post?Howdy,
Shooting from the hip — I don’t think you need to echo “the_post_thumbnail()” It spits its result out directly.
Regards,
PaulForum: Fixing WordPress
In reply to: Two whole separate installs, not "multisite"Howdy,
Where is your site hosted? (Your own server? Some web host?)
Take care,
PaulForum: Fixing WordPress
In reply to: how to redirect .html to .htm?Howdy,
You want blah.html to redirect to blah.htm?1. First, what is the plugin you’re using to make .html extension in WordPress? It might make sense just to make a change in settings / code of that plugin to do .htm instead of adding another layer of complexity by changing in .htaccess.
Possibly, I don’t understand exactly where you’re coming from.
2. Here’s the line you need to add to .htaccess, if (1) above isn’t an option:
RewriteRule ^(.+)\.html$ $1.htm [L]I got that from:
http://www.webhostingtalk.com/showthread.php?t=877618It should match anything .html and return anything.htm
Regards,
PaulForum: Fixing WordPress
In reply to: Post type problemTo display the value of custom fields, use get_post_meta():
http://codex.wordpress.org/Function_Reference/get_post_metaIs that what you’re looking for?
Cheers,
PaulForum: Themes and Templates
In reply to: help with alignment of side barHi Jo,
OH! Wait… CSS comments are /* mycomment */, not the HTML comment you have in the above for background-image. Remove or fix that.
Paul
Forum: Fixing WordPress
In reply to: Add your Alexa verification ID to the home pageI haven’t tried running both at the same time to see what really happens, but it is probably not a very good idea, since the both try to manipulate many of the same things.
Once you verify the ID with the Yoast plugin, you could then just disable the Yoast one if you wanted — this is just a quick way for you to get the ID in your document <head> long enough for Alexa to see that you do indeed have control over that domain.
If you just want to do this directly (verify without using someone’s plugin) it’s not too hard. Actually, just follow this person’s short walkthrough:
http://answers.yahoo.com/question/index?qid=20111121224727AAs15MMTake care,
Paul