varkenshand
Forum Replies Created
-
Forum: Installing WordPress
In reply to: WP 2.5: can’t add imagesGood info but I’m done hacking code in fast changing environments. I quess what you’re basically saying is that image upload in 2.5 does not work (yet).
Forum: Installing WordPress
In reply to: No WYSIWYG Editor in 2.1My visual editor did not work after upgrade to 2.1, on two out of three blogs. Cleaning browser cache did not help. Turning off all the plugins neither. What did help: I had removed the www. from the url in the Options page. Putting it back there and the rich editor worked fine, without any warnings in the admin page status bar.
Forum: Fixing WordPress
In reply to: Problem with layout in Internet ExplorerTry to search for the IE double margin hack, seem to remember that adding a display: inline; somewhere could solve the margin problem.
Forum: Fixing WordPress
In reply to: How do I remove <p> from the_content ?Two ways:
the hard way – comment out the autop filter for content in the default filters file. (wp-includes/default-filters.php)
The better way: install Text Control plugin. Works great for p’s and also for quote misery in code. Adds two buttons to your Admin/ Write page.
Forum: Themes and Templates
In reply to: More tag messed up sidebar on homepageProblem was caused because the More tag was placed in a Bold paragraph. So remained unclosed.
Forum: Fixing WordPress
In reply to: Display only one category in sidebar (in separate div)I made some progress: main category title features as box title. Subcategories are listed twice, using exclusions. Main category is suppressed, parent is inserted instead. This gives control over box titles through administrator (and editor) interface. Requires some coding in sidebar.php but that’s not too difficult:
<!-- last option in list_cats is meant for excluded categories -->
<div class="sidebox red">
<div class="title"><?php echo(get_category_parents(2, 0, ' ')); ?></div>
<?php list_cats(0, '', 'name', 'asc', '', 0, 0, 1, 1, 1, 1, 0,'','','','','1,2,3,22,24,27,28') ?>
</div><div class="sidebox green">
<div class="title"><?php echo(get_category_parents(3, 0, ' ')); ?></div>
<?php list_cats(0, '', 'name', 'asc', '', 0, 0, 1, 1, 1, 1, 0,'','','','','1,2,3,6,7,8,9,10,11,12,13,15,16,19,20,23,25,26') ?>
</div>The non-breakable space is needed as a division character, otherwise WP uses a default slash.
Forum: Fixing WordPress
In reply to: Display only one category in sidebar (in separate div)Interesting, he uses Permalinks by the looks of his own blog.
The Rudd-o com guy uses Ajax.Forum: Fixing WordPress
In reply to: Display only one category in sidebar (in separate div)Manstraw this could prove interesting:
https://rudd-o.com/projects/wp-list-main-cats/Forum: Fixing WordPress
In reply to: Why link single-post header to Permalink?I changed the single.php turning the header into a back button.
<div class="post">
<h2 id="post-<?php the_ID(); ?>"><a href="javascript:history.go(-1)" title=" back.."><?php the_title(); ?></a></h2>Forum: Fixing WordPress
In reply to: Display only one category in sidebar (in separate div)Thanx,
Interesting solution, I will surely look into this. Although it proves to be amazingly time-consuming ??Forum: Fixing WordPress
In reply to: centering and category link problemsWill not work in Firefox, I’m afraid.
Try this:
https://netmechainc.com/news/vol7/html_no10.htmSo the trick is to make a paragraph class
.centeredImage
{
text-align:center;
margin-top:0px;
margin-bottom:0px;
padding:0px;
}
Works for me, https://www.hansvandenberk.com
Forum: Themes and Templates
In reply to: One category in its own div, separate from all other catsSame problem here, https://www.johnmartyn.info/tetest
Seems to be very difficult, so I solved it simply for the time being.
1) Note the category number (in my case ‘Muziek’)
2) Exclude this category from list
3) Make a sidebox that disappears when the category is being displayed
4) Insert the url manually into this sidebox.
Not very flashy from a database point of view but it works.Forum: Themes and Templates
In reply to: More tag messed up sidebar on homepageTried the validator and this pointed to a bit of messy html in one post. No idea how it got there, though.