Jay Versluis
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [P2] Posts thru XMPP not updating on home pageJust checking, if you change the theme to something else (like TwentyThirteen) and then post via XMPP, do new posts show up as they should?
Because if they are not, it may be a problem with your XMPP plugin rather than P2.
Forum: Themes and Templates
In reply to: [P2] No embeded video controls in P2 themeHow are you embedding the video, and what type of video is it?
Forum: Themes and Templates
In reply to: [P2] can new comments bump threads?I suppose the “P2 Recent Comments” widget shows threads that have been comment-bumped.
Forum: Themes and Templates
In reply to: [P2] YouTube link in P@ not working@lkraav
The short code is not necessary – just make sure the YouTube URL is on its own line (ie hit return after posting the URL). The video will embed itself.Forum: Themes and Templates
In reply to: [P2] How to add an archives page?Your best bet for a search box is a widget. Head over to Appearance – Widgets, then find the Search Widget and drag it into the sidebar (top position looks best I find).
You could do the same with the Archives widget. Also look into the P2 Recent Tags widget, which will display the last xx used tags in the sidebar, nicely formatted. Clicking on such a tag will generate a tags archive page.
Forum: Plugins
In reply to: [WordPress Beta Tester] Not updating from 3.6.1 to 3.7Thanks for the tip, @kimil!
Here’s a link to older versions of this plugin:
http://wordpress.org/plugins/wordpress-beta-tester/developers/Forum: Themes and Templates
In reply to: [P2] Assigning P2 to a custom post typeHi Chris,
take a look at /inc/ajax.php – at the very bottom there’s a block that inserts the post. By default it looks like this:
$post_id = wp_insert_post( array(
'post_author' => $user_id,
'post_title' => $post_title,
'post_content' => $post_content,
'post_type' => 'post',
'tags_input' => $tags,
'post_status' => 'publish'
) );
In post_type you can change this to your heart’s content. You can even add other attributes as described here: http://codex.wordpress.org/Function_Reference/wp_insert_post
For example, you could change this to ‘post_type’ => ‘page’, and then all posts will become pages. Note those won’t show up on the front page of course.
To limit this change only to status updates, wrap the block into an if/then statement, like so:
if ($post_format == 'status') {
$post_id = wp_insert_post( array(
'post_author' => $user_id,
'post_title' => $post_title,
'post_content' => $post_content,
'post_type' => 'page',
'tags_input' => $tags,
'post_status' => 'publish'
) );} else {
$post_id = wp_insert_post( array(
'post_author' => $user_id,
'post_title' => $post_title,
'post_content' => $post_content,
'post_type' => 'post',
'tags_input' => $tags,
'post_status' => 'publish'
) );
}Hope this helps!
Forum: Themes and Templates
In reply to: [P2] Enabling shortcodesI’ve just tried using the Archives shortcode from Jetpack, and they seem to work fine for me in P2. They work from the back end in the visual editor, as well as when posting from the front page.
Have you activated the Shortcode Embeds option in Jetpack?
Forum: Plugins
In reply to: [WordPress Beta Tester] Not updating from 3.6.1 to 3.7Same issue here.
@esmi
Not sure what you mean – surely you don’t expect 6 different people to post the same topic in the same forum saying the same thing, when all we want is to be notified when this issue may be resolved.Forum: Themes and Templates
In reply to: Jetpack forcing mobile theme on desktopConfirmed – I have the same problem on my site. I’ve tried switching from “full posts” to “excerpts”, reloaded the page and all came good. Switching back to “full posts” still leaves the full site on my Desktop Safari… that has to be a bug.
Forum: Fixing WordPress
In reply to: Caption broken in new 3.4 postsYou need to install Thesis 1.8.5 or later for this problem to get fixed. Thesis does not automatically tell you that an update is available, nor does it apply them via one-click like other themes that are hosted on WordPress.org. Head over to DIYthemes.com and follow the instructions to upgrade.
My site is running Thesis 1.8.5, here’s a link with working captions:
Forum: Plugins
In reply to: [Snapshot Backup] [Plugin: Snapshot Backup] Security and compressionHi jtheory,
Those are two very good points indeed. I’m now sure though where else to save the latest local snapshot – it needs to be accessible otherwise people won’t be able to download it via the web. I’m happy to add a delete option though once the snapshot has moved to the FTP repo.
I want to make compression an option too, it’s been requested several times before. Next time I get round to an update those points will be addressed. Can’t promise when that will be though…
There is a plugin that has all this built in though: check out http://backwpup.com
Forum: Fixing WordPress
In reply to: Caption broken in new 3.4 postsThanks for letting us know Nacin, think we were getting worried there 😉 I understand the code change, makes sense to allow for HTML in captions.
I’ve just tested the two latest versions of TwentyTen and TwetyEleven, they’re both looking good. Thesis have released a patch for this too.
@caseylessard you best get in touch with the Headway guys and make them aware of this change in WordPress.
Forum: Fixing WordPress
In reply to: Caption broken in new 3.4 postsHi leahingram,
you are right, WordPress puts the caption back when you go back to the Visual Editor. The only way to make those changes permanent is to not change back to the Visual Editor until you’ve published your post.
If you’re making edits after you’ve published, switching back to the Visual Editor will also change your captions back to the “broken” version. I suggest to make edits in HTML view. You can even switch the Visual Editor off altogether if you like under Users – Your Profile (check the first tickbox “Disable visual editor”).
Forum: Fixing WordPress
In reply to: Caption broken in new 3.4 postsHi liexistudio,
no problem about the lack of experience – we’ve all been there, trust me 😉
Go to where and how you normally create a new post (or amend an existing one), it’s the Edit Post window. At the top right of your text editing window there are two tabs: Visual and HTML. You’re probably in the Visual Editor most of the time for typing text and inserting images. When you click on HTML you’ll see the code that WordPress generates in the background.
Once you’ve added an image with caption, click on the HTML tab and find a code section beginning with [caption… ] and ending with [/caption], just like I said above, and as Rosie-L suggested.
Any questions, let us know.