‘WordPress Hack’ Category

PictPress – a WordPress gallery plug-in

No
responses

Curioso has come up with a very nice WordPress (1.2) plugin that allows the easy creation of galleries as posts. He calls this pug-in PictPress. An example of this can be found here. Once the bugs have been ironed out, I have asked if I could include this as an addition to Pictorialis.

[Continue Reading...]

Fixing MT URLs for WP

1
response
by
on
May 13th, 2004
in
WordPress Hack

Adam Idly has writte up some cool mod_rewrite rules to redirect your old MT archives pages. Here is the link to his entry. http://idly.org/2004/05/13/fixing-mt-urls-for-wp

[Continue Reading...]

Use LiveJournal Tags on WordPress

1
response

Unteins from the WordPress forums has come up with a way to use LJ tags in your WordPress blogs. From his post on the forums: If you’d like to be able to use LJ User tags in your WordPress Blog, do this. Download this file and save it in your WordPress root as wp-ljtags.php Then add these lines to you my-hacks.php file and make sure hacks are on. //WP LJ User Tage Parser require_once(‘wp-ljtags.php’); add_filter(‘the_content’, ‘parse_lj_tags’); add_filter(‘comment_text’, ‘parse_lj_tags’); This works really nicely with the Auto Update hack which let’s you post to your Word Press blog and LJ at the same time. Check out my additions to that hack as well. You can find his blog at G.B.A.A.O.

[Continue Reading...]

IRC to blog script

4
responses

I wanted to tinker with the socket capabilities of PHP and wrote some small scripts to support automatic blogging of IRC conversations. It turned out pretty well after a few changes and issues that needed to be resolved. Here are the results. The likely suspect is the #wordpress channel on irc.freenode.net where developers, contributors as well as helpful friendly folk hang out often. All of the conversations from that channel are now blogged to http://proc.homeip.net/wordpress/ This is merely an experiment and if there are major objections to this process, this blog will be removed. Some of the salient features of this include automatic blogging using xmlrpc. The script does not have to reside on the webhost machine. It is extremely fast and very configurable. At this time, every peice of conversation from every user is blogged as a seperate entry with the topic of the entry as the username of […]

[Continue Reading...]

Threaded comments hack for WordPress 1.2+

16
responses
by
on
May 9th, 2004
in
Code, WordPress Hack

I redid the threaded comments for WordPress 1.2 + Now the install is very simple and the threads are formatted a little better. There is a very small CSS bug where in Opera the lower threads get smaller in size. I have not had the time to fix it yet, if you come up with a solution, please post it and I will add it to the distribution. As always, please backup everything before installing this hack or any others. You can see it at work here: http://mindfulmusings.net/testwp You can download the zip file from here: http://weblogtoolscollection.com/b2-img/threaded.zip

[Continue Reading...]

Customise the WordPress Comments Page

3
responses

Change the font, font size, add borders / images / background colours to the comments themselves or just the page background. Font Changes In wp-layout.css, add this; ol#commentlist p { font-family: Tahoma; font-size: 100%; } This is the font that the comments will be displayed in. Change to suit your site. Add Borders ol#commentlist li { border-left: solid 1px #ff0000; border-right: solid 1px #ff0000; border-top: solid 1px #ff0000; border-bottom: solid 1px #ff0000; margin: 10px; } This will add a border around each post, and separate the posts by a margin of 10 pixels. The colour there is red, so alter as you will, and for those borders that you do not want, just remove the line required. You could always have a dotted line instead of solid too. Comment Image Add this line to the above code: background-image: url(‘image.gif’); This will place an image behind the comment entry. You can […]

[Continue Reading...]

Image alignment & Drop shadows

9
responses
by
on
April 12th, 2004
in
Weblog Add-Ons, WordPress Hack

Mark posted a while back (link) a quicktags improvement that included the ability to have drop shadows around your image. Visit that link to get the code and follow the instructions for adapting your current setup. I’ve adapted it so that the image can now be left or right aligned with text wrapping, and I’m assuming that you have added the CSS from that link to your ‘wp-layout.css’. Add the following to your wp-layout.css; .img-shadow1 { clear: both; float:right; background: url(images/shadowAlpha.png) no-repeat bottom right !important; background: url(images/shadow.gif) no-repeat bottom right; margin: 20px 0 0 17px !important; margin: 20px 0 0 8px; } .img-shadow1 img { display: block; position: relative; background-color: #fff; border: 1px solid #a9a9a9; margin: -6px 6px 6px -6px; padding: 4px; } div.clearer { clear: left; line-height: 0; height: 0; } The instruction <div class=”img-shadow”> will produce a left aligned image. The instruction <div class=”img-shadow1″> will produce a right […]

[Continue Reading...]

CSS Style Switcher Version 1.2

No
responses

Alex King has done it again! He has released a new version of the CSS style switcher for WordPress. This new version 1.2 now sports a much more graceful failure from deleted styles and sorts the links to the styles alphabetically. I should probably get around to sending him my code so the wp-admin switcher could be integrated into it. 🙂 I will, as soon as this school crap is over.

[Continue Reading...]

Movable Type redirect script for WordPress

1
response

If you have been wanting to import your entries from Movable Type into WordPress so that you can switch, but have been worried about losing your hits from Google and or other linkage, look no further! The venerable Alex King has written and posted a script/tutorial which does just what you are looking for! You can find the script here. He encourages people to use the script to build templates and other material as they please. So if you or a friend have been wanting to switch, but have used this excuse, get crackin! Find a way to thank Alex if you do use his script.

[Continue Reading...]



Obviously Powered by WordPress. © 2003-2013

css.php