Reports about Wp-Insert Clones
I just came across a comparison between Wp Insert and another plugin names WP OPT Insert on a couple different websites
I have no clue as to what the aforementioned plugin does; but according to the different blog posts I read today both plugins seem to be somewhat similar. Wp-Insert is a multifunctional plugin and comparisons like this occur frequently. This particular one shows up in a lot of sites though
Do note that neither me nor SmartLogix Technologies is in any way related or affiliated with the developer/marketers of the so called plugin Wp Opt Insert.
Wp-Insert is created with the sole intention of giving back something to the wonderful wordpress community and I believe in opensource and GPL.
I request everyone in the community to help and support each other either by donations, code snippets or reporting bugs or in any other way you can and help more and more people use the magnificent piece of code named WordPress.
How to activate Syntax Highlighting for code snippets in posts and pages
To enable Syntax Highlighting for code snippets in posts and pages select “Syntax Highlighting” from the wp-insert menu
Expand the “Syntax Highlighting for Code in Posts & Pages” section
Click “Click to Activate” and the Click “Save Changes”.
Follow the tutorials on http://www.wp-insert.blogolb.net/tutorials/syntax-highlighting/ to know how to add code snippets into posts and pages.
Categories: Syntax Highlighting Tags: Activate, code, code snippets, Expand, menu
How to add a code snippet to a page with syntax highlighting
You can add a code snippet to a page using the [ code] short-code.
You can either enclose the code snippet between [ code] and [ /code]
OR
Add the code in a custom field and then add the custom field name to the short-code as follows [ code custom='blah'][ /code]
Categories: Syntax Highlighting Tags: code, code snippet, custom, enclose, Syntax
How to set the language of a code snippet added to a page for proper formatting
Suppose you want to add the following code snippet in PHP into your post.
You can either add it directly into the post which will probably mess up the formatting and reduce the readability ad shown below
<?php $args = array( 'post_type' => 'attachment', 'numberposts' => -1, 'post_status' => null, 'post_parent' => $post->ID, 'exclude' => get_post_thumbnail_id() ); $attachments = get_posts($args); if ($attachments) { foreach ($attachments as $attachment) { the_attachment_link($attachment->ID, false); } } ?>
Or you can use a syntax highlighting system which will make the code much more easier to read and understand.
[code language="php" custom="code1"] [/code]
Consider the following few code snippets
Snippet 1
[code language="html" custom="code2"] [/code]
Snippet 2
[code language="php" custom="code1"] [/code]
You will notice that each one of them has syntax highlighting but is formatted differently.
The author of the post will definitely know which language the code snippet is written in.
While adding the code snippet to the post the author can easily set the language so that it is formatted correctly using the language attribute of the short code as shown below
[ code language="php" custom="code1"][ /code]
Make sure you don’t enter the wrong language. Entering the wrong language may cause the code snippet not to show up in certain cases.
Categories: Syntax Highlighting Tags: args, attachments, code, null, readability
How to center align ads in the sidebar
Every time I insert ads into my sidebar it will either align itself to the left or right of the sidebar which looks really ugly!
There is a quick and great fix to this problem if you are using Wp-Insert to insert ads into your sidebars.
Towards the bottom of the box you can see the “Ad Box CSS Styler” section which simply lets you add CSS style to the ad.
Add “text-align:center;” to the code there and click save. Your sidebar ads should now be center aligned.
Share your ideas on how to improve this feature here.
[keyword id='1']
[keyword id='2']








