Title: Something like BB-Code
Last modified: August 19, 2016

---

# Something like BB-Code

 *  [mitzabzzz](https://wordpress.org/support/users/mitzabzzz/)
 * (@mitzabzzz)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/something-like-bb-code/)
 * Hey,
 * I have a photoblog and I want to create a plugin to make my posts much easyer
   to write. I want to make something like bb-code and when I post something like:
   `[
   image image.jpg "Text for the image"]` to display on the blog the image and the
   text below it. Also I want to add a votesystem for each image posted (I made 
   one, but it’s to much code to copy and paste every time I post a image). I saw
   something like it in a plugin for contact, but I looked in the code and found
   nothing that interests me. I don’t want you to post me a full code, I only want
   a link to learn how to do it.
 * Thanks in advance and please excusse my poor english (not my native language).

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [viper007bond](https://wordpress.org/support/users/viper007bond/)
 * (@viper007bond)
 * [17 years, 9 months ago](https://wordpress.org/support/topic/something-like-bb-code/#post-812737)
 * I wrote a BBCode plugin a while back: [http://wordpress.org/extend/plugins/bbcode/](http://wordpress.org/extend/plugins/bbcode/)
 * As for that particular shortcode format (`[image image.jpg "Text for the image"]`),
   you’d have to write a custom plugin.
 * See this page: [http://codex.wordpress.org/Shortcode_API](http://codex.wordpress.org/Shortcode_API)
 *  [templarian](https://wordpress.org/support/users/templarian/)
 * (@templarian)
 * [17 years, 9 months ago](https://wordpress.org/support/topic/something-like-bb-code/#post-812768)
 * An alternative to shortcode (which does more than my plugin can do currently 
   till I have free time) would be:
 * [http://wordpress.org/extend/plugins/bbcode-w-editor/](http://wordpress.org/extend/plugins/bbcode-w-editor/)
 * //edit, it only works if you have the plugin that turns your quotes into the 
   directional quotes off, I’ll try edit it so it can handle directional quotes 
   later on. `[image <1> "<2>"]` -> `<img src="[1]" title="[2]" alt="[2]" />` is
   the basic mark up.
 * (sorry viper, I’m not trying to not compete with your plugin I didn’t even realize
   it existed till I tried to add mine).
 *  [viper007bond](https://wordpress.org/support/users/viper007bond/)
 * (@viper007bond)
 * [17 years, 9 months ago](https://wordpress.org/support/topic/something-like-bb-code/#post-812769)
 * No need to apologize. Mine’s just something I threw together in a half hour to
   play around with the shortcode. 😉

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Something like BB-Code’ is closed to new replies.

 * 3 replies
 * 3 participants
 * Last reply from: [viper007bond](https://wordpress.org/support/users/viper007bond/)
 * Last activity: [17 years, 9 months ago](https://wordpress.org/support/topic/something-like-bb-code/#post-812769)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
