donzacharias
Forum Replies Created
-
Forum: Plugins
In reply to: [Social] Posting to FB pages link issuesCan you be more specific about which FAQ you mean? Do you mean that you have to use Open Graph meta tags in your theme?
Do you still use {title} {url} in the Social setting for “Post broadcast format”? And then just make sure that og:title and og:url meta tags are present?
Forum: Fixing WordPress
In reply to: Workaround for ?tegoryname% in permalink if post has no category?To clarify, I checked again and the posts in question are in the category Uncategorized, and nothing is showing up in the first position of the permalink.
Forum: Fixing WordPress
In reply to: Workaround for ?tegoryname% in permalink if post has no category?You would think so! Somehow posts that are uncategorized are showing up with nothing in that first position in the URL. Maybe WP doesn’t put “Uncategorized” in the URL if you use it in a permalink?
I wrote my own little plugin/filter to change the category chooser list to be radio buttons so that authors can only choose one category. As a result it looks like the default category is unchecked in the list so it is easy to save posts as uncategorized. I think maybe I can just make sure that it is always checked, that way I can prevent this situation.
Forum: Plugins
In reply to: [Plugin: User Photo] user photo size with get_avatar…following up my own answer, it does NOT automatically read the new dimensions, you have to update them.
Forum: Plugins
In reply to: [Plugin: User Photo] user photo size with get_avatarAnswering my own question:
- Resize the photos by hand to fit your new dimensions
delete from wp_usermeta where meta_key like 'userphoto_thumb_width'
delete from wp_usermeta where meta_key like 'userphoto_thumb_height'
It removes all thumbnail dimensions from the DB, so they will just display without those in the IMG tag but they will be the correct size.
Forum: Plugins
In reply to: Making category selection radio buttonsI just actually figured out how to do this with JavaScript, I was looking at the same problem.
In your functions.php:
add_action( 'admin_footer', 'catlist2radio' ); function catlist2radio(){ echo '<script type="text/javascript">'; echo 'jQuery("#categorychecklist input, #categorychecklist-pop input, .cat-checklist input")'; echo '.each(function(){this.type="radio"});</script>'; }
How/why it works: Insert a script in the footer of all admin pages. It uses jQuery (already present) to change the type of those inputs to radio which by default in the browser only allows 1 to be selected. There are 3 places where that list shows up, the new/edit post page (x2) and in quick edit mode. If there are more, we just need to find the DOM selector for it and add it to that list. That ought to take care of it!
Forum: Fixing WordPress
In reply to: “Unable to locate WordPress Plugin directory.”Thanks. Did this feature change in 2.6.2? It worked fine until I upgraded.
Thanks donncha, I thought about it some more and I get why it is happening. I was having trouble installing so I was just trying to make sure it was working.
Forum: Fixing WordPress
In reply to: editor level users cannot edit commentsThanks!
Nope, name of commenter is not a link for my Editors. The “actions” are missing too, as well as the commenter’s e-mail address and IP.
I could switch to the role manager plugin, but WP documentation states that Editors should be able to edit comments and that is not working in my case.
Forum: Installing WordPress
In reply to: Fatal error in Dashboard, “Unsupported operand types” ?Commenting out lines 98 through 111 in wp-admin/index.php removed the fatal error, so the widgets show. You don’t get theme- and widget-related links in the “Right Now” box is all.
So based on lisamac’s comment, PHP 4.3.2 must have a problem with this
$num_widgets = array_reduce( $sidebars_widgets, create_function( '$prev, $curr', 'return $prev+count($curr);' ) );
Forum: Fixing WordPress
In reply to: conditional tag for “first page” of paged posts?a) totally works, thanks!!
Forum: Fixing WordPress
In reply to: still shows ‘Register’ and ‘Login’ after I’m logged inOkay I was never able to get this figured out, but now I have a follow-up question: My site is at sacrag.com, but (for some reason I can’t remember) WordPress is installed at wp.sacrag.com. Could that cause the problem I described above? On other sites where I have WP installed on the same domain as the content is viewed on (like bluemag.com), it seems to work properly. So I think that’s the answer.
Forum: Fixing WordPress
In reply to: not showing when users are logged inWell it worked in this theme at one point. I must have tweaked something that made it break. Any ideas?
Forum: Fixing WordPress
In reply to: still shows ‘Register’ and ‘Login’ after I’m logged inOkay, to add a wrinkle to this problem…
WordPress does appear to know that a user is logged in, it just doesn’t show the alternate comment form (“Logged in as…”). The result is that no matter what you put in the Name field, the comment gets posted to your user name. Any ideas? is this
<?php if ( $user_ID ) : ?>
somehow returning false?Forum: Fixing WordPress
In reply to: nested list of posts using the_dateI think you were right, but
echo "
</ul></li>
“;
after the if block works right and validates.Check it here in Recent Posts https://sacrag.com