Seijun
Forum Replies Created
-
Forum: Hacks
In reply to: Custom taxonomies: getingt rid of link on display??Ok, I figured out one way!
Earlier I mentioned that one of my attempts worked except for stripping out ALL formatting. This was using strip_tags, and I remembered that I could tell strip_tags to allow certain tags. This worked:<?php $terms_as_text = get_the_term_list( $post->ID, 'operating_system', '<dt>Operating System(s): </dt>', ', ', '' ) ; echo strip_tags($terms_as_text, '<dt>, '); ?>If anyone has a better idea, please let me know.
Also, what does the extra , ‘, ‘, ” at the end of my string mean? This was code taken from the wp codex and on the forum here.
Forum: Hacks
In reply to: Custom taxonomies: getingt rid of link on display??I put
<?php $terms = get_the_terms( $post->ID, 'operating_system', "Operating System") ; ?>into my single.php file.
This results in no taxonomy info of any kind being shown.
Forum: Plugins
In reply to: [Plugin: Excerpt Editor] Anyone have this working?EDIT:
My problem was wp’s “wpautop”. The auto formatting was causing my excerpt editors to act unpredictably, especially with thumbnails for excerpts enabled.
If you are having trouble getting your excerpts and/or posts formatting to behave, try adding this to your theme’s functions.php!
//disable auto p remove_filter ('the_content', 'wpautop');Forum: Plugins
In reply to: Advanced Excerpt Template Tag not doing its jobIm having a problem where for some reason advanced excerpt only allows me to use up to 53 words when i am using thumbnails for excerpts. If thumbnails is deactivated, it works.
Forum: Plugins
In reply to: [Plugin: Excerpt Editor] Auto-Generate not affecting RSSI am having the same problem.
Forum: Fixing WordPress
In reply to: site search resultsHi,
I just had that same problem. Any search of any kind redirected me to my homepage, regardless of the theme I was using or what plugins I had active.The problem was this:
I had installed wordpress in my root directory. Then instead of allowing a wordpress page to be my homepage, I wrote up my own non-wordpress html page to be my homepage and put it in my root directory also. I don’t know how the search works exactly, but when it searches for something, it calls on the homepage address (www.mysite.com). Things work fine when the homepage is a wordpress page, but when the homepage isn’t, the search fails and you get stuck on your non-wordpress homepage.Two solutions:
1) Get rid of your non-wp homepage and design a wp page for the homepage.
or
2) Install or move wp to its own subdirectory (ex: “wpsub”) and keep your non-wp page in the root directory. Now, you can safely design a wp page for wordpress to use its homepage. Since this new wp homepage will also be located in the “wpsub” subdirectory, its address will be http://www.mysite.com/wpsub. When wp calls on the homepage, it calls on http://www.mysite.com/wpsub instead of http://www.mysite.com. So people entering your site through the “main gate” (www.mysite.com) will continue to see your non-wp homepage, which you can then link to your wp homepage. The only drawback to this is that all your pages beyond http://www.mysite.com will have the wp subdirectory name attached, which might annoy you.Hope this helps.
Forum: Plugins
In reply to: “Thumbnails for Excepts” strips formattingAnyone?
Forum: Themes and Templates
In reply to: Can this be turned into a theme?Thanks! I’ll give it a try.
My only and last CMS experience was drupal, and my attempt to create a theme there was utter failure, I’m hoping things go better the wordpress!