Vaughan
Forum Replies Created
-
Forum: Plugins
In reply to: [User Meta Manager] Shortcodes for displaying built-in metaThanks Jason – it would be great to have an all-in-one user meta plugin. And yours is the most full-featured of all the ones out there so far.
Thanks so much Jan for going to the trouble of adding this, and Christian for describing it (I had to go through lots of search combinations to find how to describe what we’re looking for).
I was wondering how I can test this, because I can’t see any refresh/change happening on comments unfortunately (using latest version). I’m using a localhost for now, and have set the idle time to 5000ms (5 sec). Should a message pop up saying it’s refreshing?
Also, is idle time counted as user completely idle, or just idle on that page (i.e. if the user has the page open in another browser tab but isn’t working in that tab and working in another tab, will it still be idle there?)
All the best.
VaughanForum: Plugins
In reply to: [Video.js - HTML5 Video Player for Wordpress] Update to 4.0 version coming?Ah I didn’t realise there was a GitHub page – it’s looking great, Dustin. I really appreciate the new colour pickers in the Admin section there. Shall keep testing too, but it’s looking solid.
Forum: Plugins
In reply to: [Video.js - HTML5 Video Player for Wordpress] Update to 4.0 version coming?Thanks for a great, it-just-works, plugin Dustin. Do you perhaps have an update when the plugin will be switched over to v4 please? This version should fix the issue I’m finding on iPad where the user cannot change the volume slider/press the mute button.
Perhaps there should be an option in the Settings panel to let the user type the version number in there and it gets auto-added to the CDN URL to make it easier for further updates?
Keep up the great work!
VaughanForum: Fixing WordPress
In reply to: Getting URL of next/previous linksIn the meantime, I managed to figure out what was going wrong here (working with too many examples at once :).
The tags that have been deprecated are actually previous_post and next_post, not get_previous_post and get_next_post. The latter two also do not have the same syntax as previous_post, next_post, previous_post_link, nor next_post_link.
Looking at the link-template.php file, you’ll notice they each take two parameters, both of which are optional. It’s the first parameter in that case that specifies whether the posts should be in the same category (and hence why my preceding example wasn’t working).
So updated code for this is as follows:
<?php $prevPost = get_previous_post(true); $prevURL = get_permalink($prevPost->ID); ?>
Hope that helps anyone else who had a similar request.
Vaughan
Forum: Fixing WordPress
In reply to: Next Page ErrorHi,
Something to try: this can be caused because of an inconsistency between how many posts your theme is displaying on the main page and how many posts the WordPress Admin panel is set to display.
In the Admin panel, select Settings – Reading and note the number in the “
“Blog pages show at most” text box. In your index.php file, look for a tag such as posts_per_page. That should also be set to the same number as in the text box earlier.Hope that helps.
VaughanForum: Fixing WordPress
In reply to: Assign thumbnails to posts, and display thumbs in sidebarHi,
To me the easiest way to do this (without using a plugin) is using a custom value in your post where you specify the filename of the image to associate with the post (it could be the full path even).
Then in your template you’d just need to use the get_post_custom_values tag and display that in an img tag.
Several WordPress themes implement this functionality, for example: Arthemia.
Hope that helps.
VaughanForum: Fixing WordPress
In reply to: Displaying PostsHi,
I can’t fully test your code unfortunately because you’re using various custom values in there, but whenever using the order parameter, I also like to add the orderby parameter so that there can be no doubt as to what it should sort on.
So perhaps try the following:
$mpyposts = get_posts('numberposts=2&category=6&order=ASC&orderby=date');
Good luck.
VaughanForum: Fixing WordPress
In reply to: Public Homepage v Private PostsHi,
Perhaps you’ve tried this already and it’s not what you’re after but if you select the Keep this post private checkbox for a post, that post will only be displayed if the user is registered on your site.
You can find this checkbox in the Publish Status section when you create or modify a post.
Hope that helps.
VaughanForum: Fixing WordPress
In reply to: newest article ends up lastHi,
You may find this is intentional based on the theme you are using. It is possible to use template tags in a theme to reverse the chronological order of posts.
I’d suggest first trying a different theme (e.g. the default one), just so that we can determine whether that’s the cause.
All the best.
VaughanForum: Fixing WordPress
In reply to: remove add from bottom of my siteHi,
You will likely find this text in the footer.php file of your theme folder. Failing that, check at the end of the index.php file.
Note though that the template license may require that you leave this unmodified. If you find the footer file has a string of letters and numbers, this means the advertising is encoded as the template is likely ad-based and provided for free because of that.
Hope that helps.
VaughanForum: Fixing WordPress
In reply to: Comments Are Off (I’d like them On)Hi,
I noticed that your “Doodle Box” post does not do this and it provides a comments box. In the WordPress Admin Panel, click the Manage tab and open each of the other posts. Towards the bottom of the screen for each, in the Comments & Pings section, make sure that the Allow Comments checkbox is selected.
What possibly happened is you may have had the Allow people to post comments on the article checkbox deselected in the Settings – Discussion page in WordPress Admin panel when you made those posts, as that will deselect the Allow Posts checkbox automatically when you make posts.
Hope that helps.
VaughanForum: Fixing WordPress
In reply to: shortcode not working at allHi,
Using shortcodes can be tricky and if you’re new to WordPress, I would suggest holding off on using them just yet.
That said, you will first need to ensure you create your shortcode function code and then associate a shortcode with that function using the add_shortcode function. Only then will you be able to successfully use the shortcode in your posts and pages.
I haven’t really used this feature myself, but there are two tutorials/overviews that you’ll want to read here and here.
Hope that helps.
VaughanForum: Fixing WordPress
In reply to: I NEED HELP WITH MY BLOG AND INDEXHi,
By “index” here, I’m not sure what you may be referring to? Is this your index.php file or do you want to display a list of posts or something else?
All the best.
VaughanForum: Fixing WordPress
In reply to: My home page isn’t my home page!Hi,
Indeed, one would think is_home() would return true for the screen that is displayed as your ‘home’ page.
However, when you use a static front page, is_home returns true for the page you’ve specified as your Posts page in the WordPress Admin panel under Settings – Reading. So I’m guessing you’ll find About listed there as your Posts page.
What you want to use rather in WordPress 2.5 is is_front_page, which will return true if you’re using a static front page and it is being displayed as the home page or if you are not using a static front page.
Hope that helps.
Vaughan