Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

Insert Code

Beskrivning

Insert Code allows you to insert code before or after the contents of your post or page. It also allows you to insert code after Nth paragraph (<p>) of your post or page contents. This saves you the hard work of manually entering code in your post files, and is very useful for showing ads or other content in pages or posts, including AdSense or other ad code.

Insert Code provides an option to show custom code on all pages and posts, or on selected categories only.

Insert Code automatically adds a "Categories" section to Pages of your WordPress dashboard, to allow you to select the category(ies) on which you want to insert the code that you have saved in the Insert Code plugin.

If you want to hide the code from all posts or pages then you can easily uncheck the post type in the Insert Code setting pages.

If you would like to use different codes for desktop and mobile sites, please get our Pro Version

Skärmdumpar

  • Insert Code saved list screen
  • Screen options to show and hide categories and dates from the list
  • Add new Insert Code screen
  • Insert Code setting page
  • Categories section that appears on the pages in the right sidebar
  • Insert Code Menu on the admin left side bar
  • Sample output on frontend

Installation

It’s simple to install and use. After installing go to the settings and configure the plugin as required.

t.ex.

  1. Upload /insert-code/ to the /wp-content/plugins/ directory
  2. Activate the plugin through the ’Plugins’ menu in WordPress
  3. Go to the Setting of Insert Code
  4. Check the required post type where you want to show custom inserted code or data

Vanliga frågor

Can we use the selected post type to show the code

YES, You can place the data/code on pages or posts

Can we use the custom css for the inserted data div

YES, Just place your code or data, and in setting page uncheck the exclude css checkbox and place the css that you want to apply to the code section

Can we select the categories for the pages

YES, Insert Code allows you to select the categories for the pages type also, so you can select the category for that page and allow to insert code from the INSERT Code Plugin by category

Can we place Google AdSense or any other types of ads

YES, You can add any type of ads code to your required pages/posts on your required position in the content

Can we use different codes for mobile and desktop sites?

YES, If you would like to use different codes for desktop and mobile sites, please get our Pro Version

Recensioner

3 september 2016 2 svar
Hell, it's open for every writers via dashboard. My site defaultly set users as writers when they register (which is for my public purpose). But it's still a sort of unsafe when they can add codes freely. I just use this fancy thing to add a share code independently. Maybe other plugin would fit my need.
Läs alla 4 betyg

Bidragsgivare och utvecklare

”Insert Code” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Översätt ”Insert Code” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

2.2

  • Administrative notice fixed

2.1

  • Capabilities issue fixed

2.0

  • Role and Capabilities added to the plugin. It is now accessible only to the administrator

1.0

  • Plugin developed and launched in the initial phase