Plugin ggis-InlinePost for WordPress
New plugin for Wordpress developed. It should be available on the their site shortly. In the meantime, it will be available for download here.
If you have any comments or questions, please add them here.
//UPDATE 5/11/2010
Usage is convered on the ggis-inlinepost page.







March 14th, 2010 at 6:54 am
I’ve downloaded your plugin and am testing – ggis-InlinePost
I have a problem – it doesn’t include the carriage returns I put into the editor
I’m using v2.9.2 of Wordpress
Aral Balkan’s version work OK though – I’ve looked through both code and can’t see what you’re doing different
I want to include post in a similar way – so hence I came to look at your plugin
Let me know if you can suggest a solution
Thanks
Omar
March 15th, 2010 at 2:45 pm
@Omar
I will look into it and likely if needed update the plugin. Been a while since I looked at this code. It does, though work fine on this site which is running v2.9.1.1.
May 2nd, 2010 at 8:53 pm
@Omar
Maybe I did not understand your question. The plugin works fine on the v2.9.2 of WordPress. You are asking about it including carriage return and I do not really know what you mean.
The plugin just inserts the identified post at the position of the shortcode. It does not touch any of the formatting in either the parent or child post.
May 11th, 2010 at 10:58 am
I have installed the plugin and it works but not completely as I had hoped. I put the code [-ggis-inlinepost id=""-] on the firts line of my message and then it appears on the home page of m y blog. I want it however to appear on another page. Sp I also put this code on that other page and the message really shows there. But also on the home page and that is what I don’t want. Secondly on the page where I want the message to appear it only shows the title and not the message as such. I have to click the title and then the message opens. And also the code is shown on the page where the message appears.
Do I have to change some things?
Joop.
May 11th, 2010 at 11:20 am
@Joop
Not entirely certain I understand what is all happening. Could you pass along some links to the mentioned pages? That would help me see it.
In general, I just use this plugin on pages and not in posts. Using it in posts, leads to some of the issues I think you are having. It is really meant to be a rather simple plugin. Some of my clients use a page for their home page and this allows them to include posts when and where they want.
May 20th, 2010 at 3:36 pm
Very nice plugin.
I add inline posts to a page only.
All the posts disappear when I use PHP5 in my server. They appear again when I disable PHP5.
Any ideas?
May 20th, 2010 at 3:37 pm
Another question:
How can I make to have the title of the post I put inline to appear as a link to the original post?
THANKS AGAIN!
May 20th, 2010 at 7:42 pm
@Claudio: Making the title appear and link to the post.
There are 2 ways to make the title appear as part of the inline post.
1. You can set this as the default from Settings > ggisInlinePost
2. You may set this per use with the following shortcode
[-ggis-inlinepost id="%id" showtitle="1"-]
It is default behavior for the title to appear and be linked.
http://dvector.com/oracle/ggis-inlinepost/
May 20th, 2010 at 7:54 pm
@Claudio — Issues with PHP5
This plugin was developed and is regularly used with the latest stable releases of PHP5. Are you able to tell me what error messages are generated? The current version does maintain compatibility with PHP4.
The PHP PCRE functions are used for the heavy lifting. The remaining functions are all standard WordPress calls. Maybe check your phpinfo() to make certain the PCRE functions are properly enabled.
If you would like, leave another comment and I will send you my email address for more secure communication about your logs and php setup.
May 29th, 2010 at 12:28 am
I ran into the same problem about 15 minutes ago on a site I’m developing… the new line character simply doesn’t work.
I came up with a quick fix solution, hopefully the author can incorporate it into his next version if no better fix is available (I don’t like modifying others work). I am running PHP 5.3.2 and WP 2.9.2.
For anyone who is wondering what it is, you need to modify the plugin’s code… more specifically replace the last line adding a nl2br function call in there to make every new line into a (to conform to xhtml standards).
Find the // Post content and then under it there should be something similar to a format_to_post. For some reason… this isn’t formatting the new lines correctly so I simply change all the \n to characters.
// Post content
$postout .= “”.nl2br(format_to_post($post->post_content)).”";
May 29th, 2010 at 10:58 am
@Philip
Hmm, interesting. Guess I will dig deeper into this issue. Thank you for your excellent bug report, it certainly helps narrow down where to look. Expect an updated release by June 3.
June 3rd, 2010 at 3:12 pm
@Philip, @Omar
The newline display issue has been fixed in version 1.0 of the plugin. It is available for download at http://wordpress.org/extend/plugins/ggis-inline-post/download/