2MB Autocode

2MB Autocode

This plugin allows you to place predetermined text/html/php at the top or bottom of posts.

  • Almost active
    This plugin was not updated the last 1395 days ago.
  • This plugin is not tested with the last major release of WordPress
    Content for list item
  • There is no information available which PHP version this plugin requires
    The latest stable PHP 8.4.1 was released on 21 November 2024
  • No unfixed plugin vulnerabilities
    Content for list item

Ratings

0

Active installs

100

Total Downloads

38K

Support Threads

0

Last updated

06 February 2021

Added

08 September 2014

Versions

100%
  • Version 1.2

About 2MB Autocode

FAQ

There are now options on each post’s edit page to force remove, force add, or do neither to the text on the top and bottom of either home or post pages. The text below is still valid, however the settings just mentioned will override the tags below if set to anything except do nothing.

Simply put ##no_top## or ##no_bottom## anywhere in the post, and it will remove those tags, and not put the text on bottom or top depending on which tag(s) you entered. In addition, if you put ##no_top_home##, ##no_bottom_home##, ##no_top_post##, or ##no_bottom_post##, it will remove the text from either the top or bottom of either the post page or the homepage, no matter what is set in the settings.

We’re glad you asked! We’re always looking for new ways to improve, whether in the realm of new plugins, or upgrading existing ones. Please go to our website, and click contact us. There you will be able to email us a message. Rest assured we read every email we receive and strive to respond to as many as possible!

Simply enclose the php you want to run inside [php and ]/php] tags.

For example, to echo hello world in the middle of a post, do the following:

[php] echo(“hello world!”);[/php]

There is now an options panel on each post, so you can force text on the home page, force text to not be on the homepage, or defer to the main settings. The text below is still valid, but when set to anything except do nothing, the options on the post editor will override these tags.

Simply put ##do_top_home## or ##do_bottom_home## anywhere in the post.

Do not worry, the fix is a simple one:

We have now moved our official development version to github. Feel free to test the code if you wish, and/or open issues over there although any issues or problems reported on the wordpress.org forums will also be dealt with.

Note this only happens on the admin, so if this happens:

Note that no settings will be lost in this transition.

We’re glad you asked! We’re always looking for new ways to improve, whether in the realm of new plugins, or upgrading existing ones. Please go to our website, and click contact us. There you will be able to email us a message. Rest assured we read every email we receive and strive to respond to as many as possible!

Simply enclose the php you want to run inside [php and ]/php] tags.

For example, to echo hello world in the middle of a post, do the following:

[php] echo(“hello world!”);[/php]

There is now an options panel on each post, so you can force text on the home page, force text to not be on the homepage, or defer to the main settings. The text below is still valid, but when set to anything except do nothing, the options on the post editor will override these tags.

Simply put ##do_top_home## or ##do_bottom_home## anywhere in the post.

Do not worry, the fix is a simple one:

We have now moved our official development version to github. Feel free to test the code if you wish, and/or open issues over there although any issues or problems reported on the wordpress.org forums will also be dealt with.

Note this only happens on the admin, so if this happens:

Note that no settings will be lost in this transition.

Simply enclose the php you want to run inside [php and ]/php] tags.

For example, to echo hello world in the middle of a post, do the following:

[php] echo(“hello world!”);[/php]

There is now an options panel on each post, so you can force text on the home page, force text to not be on the homepage, or defer to the main settings. The text below is still valid, but when set to anything except do nothing, the options on the post editor will override these tags.

Simply put ##do_top_home## or ##do_bottom_home## anywhere in the post.

Do not worry, the fix is a simple one:

We have now moved our official development version to github. Feel free to test the code if you wish, and/or open issues over there although any issues or problems reported on the wordpress.org forums will also be dealt with.

Note this only happens on the admin, so if this happens:

Note that no settings will be lost in this transition.

There is now an options panel on each post, so you can force text on the home page, force text to not be on the homepage, or defer to the main settings. The text below is still valid, but when set to anything except do nothing, the options on the post editor will override these tags.

Simply put ##do_top_home## or ##do_bottom_home## anywhere in the post.

Do not worry, the fix is a simple one:

We have now moved our official development version to github. Feel free to test the code if you wish, and/or open issues over there although any issues or problems reported on the wordpress.org forums will also be dealt with.

Note this only happens on the admin, so if this happens:

Note that no settings will be lost in this transition.

Do not worry, the fix is a simple one:

We have now moved our official development version to github. Feel free to test the code if you wish, and/or open issues over there although any issues or problems reported on the wordpress.org forums will also be dealt with.

Note this only happens on the admin, so if this happens:

Note that no settings will be lost in this transition.

We have now moved our official development version to github. Feel free to test the code if you wish, and/or open issues over there although any issues or problems reported on the wordpress.org forums will also be dealt with.

Note this only happens on the admin, so if this happens:

Note that no settings will be lost in this transition.

Note this only happens on the admin, so if this happens:

Note that no settings will be lost in this transition.

Changelog

1.2.5

1.2.4

1.2.3

1.2.2

1.2.1

*Fixed a bug allowing post data to echo twice if using ##do_top## or ##do_bottom##.

1.2

*Added an options panel on the post editor so you can now set custom post overrides without having to insert tags such as ##do_post_home##.
*Fixed a nasty bug in which text on each post’s single page was suppressed when the home checkbox was unchecked. Whoops?

1.1.2

*Very important! If you were using inline php to put php on your blog before, please upgrade to this version or uninstall inline php before upgrading to 2mb autocode 1.1. There was a problem that caused the two plugins to conflict, which has now been solved. *** NOTE *** if your blog is not accessible due to the conflict, do the following: Delete the inline php folder from your server, and all should be well. We’re sorry for any inconvenience — sometimes even plugin developers can screw up ;-).

1.1.1

*Added documentation to the plugin itself.
*Added ##do_top_home## and ##do_bottom_home## to put text on the top or bottom of a post on the homepage even if the checkbox in settings is unchecked.

1.1

*Added ##do_top## and ##do_bottom## to place the bottom or top text anywhere in a post.
*Added ##no_top_home##, ##no_bottom_home##, ##no_top_post##, and ##no_bottom_post## to override the placing of text specifically on the home or post pages.
*Added [php] PHP CODE HERE [/php] to run php inside a post.
*Very important! Fixed an issue where php at the top or bottom of posts would not run, and could possibly crash programs or make them not work correctly.
*Fixed a possible bug where php code in the top or bottom of the post may have been echoing to the wrong part of the screen.

1.0

*First release. woohoo!

How to install 2MB Autocode

Installation is extremely simple!

  1. Visit your wordpress dashboard and click add new under plugins.
  2. Either search for 2MB Autocode and find it in the repository then click install and confirm that you want to, or upload a downloaded zip file then click install.
  3. It should install.

That’s it! Now you can enjoy your 2MB goodness!

Feel free to mess around with the settings under settings > Autocode.