darkfate
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Using update_usermeta in a plugin when user registersI guess it returns blank, but I realized now that it’s going into the database.
Forum: Fixing WordPress
In reply to: Using update_usermeta in a plugin when user registersI’m doing this in my plugin:
function addphone($user_id) { global $wpdb, $phone; return update_usermeta( $user_id, 'phone', $phone ); } add_action('user_register','addphone');$user_id is returning blank and I don’t know why.
Forum: Fixing WordPress
In reply to: display 2 images horizontally in a postThe backticks allow you to show code. I said that the images would screw up if they didn’t fit within your container.
Forum: Fixing WordPress
In reply to: How to add social bookmarks to my feed?Well, the feedburner feed is getting it from the wordpress feed.
Forum: Fixing WordPress
In reply to: Akismet stopped working? 128 Spam comments in 8 hoursYea, everyone kept asking on #wordpress. Now I know what the problem is.
Forum: Fixing WordPress
In reply to: How to add social bookmarks to my feed?You can use something like this:
<?php print sociable_html(); ?>Use that in the rss generation.
Depending on what feed your using, is what file you edit. So if you’re using RSS, then edit wp-rss.php, if you’re using RSS2, then edit wp-rss2.php, etc.
Forum: Fixing WordPress
In reply to: display 2 images horizontally in a postYou can float an image to the right and float an image to the left. so something like
<img src="blah.jpg" style="float:left;" /><img src="blah2.jpg" style="float:right;" />You probably want to assign classes to them in your stylesheet. Just make sure that the images can fit within the width of the container. Also, you can either use the backticks or wrap the word code in brackets [].