How to display plugin code?

Use Shortcode.
Display Plugin's Code
* 5:[dpc]~~~~[/dpc]

 See .  ShortCode_XH

News02

{{{g_adsense();}}}

5-6

  1. g_adsense : Display the Google AdSense
  2. h_tag : H1,H2,H3 tag

 

 


 

 

  1. g_adsense : Display the Google AdSense

    Set your Adsense Code...  
     OPEN plugins/simpleplugins_xh/simpleplugins_library/g_adsense/index.php
    function g_adsense() {
    	return '<div class="mainAds">
    	Please Edit Your Google AdSense Code ,
    	(Here : simpleplugins_library\g_adsense\index.php)
    	</div>';
    Example ..Etit to
    function g_adsense() {
    	return '<div class="mainAds">
    <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
    <!-- responsive**** -->
    <ins class="adsbygoogle"
         style="display:block"
         data-ad-client="ca-pub-******"
         data-ad-slot="******"
         data-ad-format="auto"></ins>
    <script>
    (adsbygoogle = window.adsbygoogle || []).push({});
    </script>
    	</div>';

    Code: {{{g_adsense();}}}
    sample1 :
    {{{g_adsense();}}}



  2. h_tag : H1,H2,H3 tag

    Code: {{{h_tag($string [, $h123 , $class]);}}}
    sample1 :
    {{{h_tag('This is H1');}}}

    This is H1


    sample2 :
    {{{h_tag('This is H2',2);}}}

    This is H2


    sample3 :
    {{{h_tag('This is H3',3);}}}

    This is H3


    sample4 :
    /** add to templates/***/style.css **/
    .text1 {
        text-shadow: 2px 2px 2px rgba(30,30,30,1);
        -webkit-text-shadow: 2px 2px 2px rgba(30,30,30,1);
    }
    .text2 {
    	color: #aaa;
    	text-shadow: -1px -1px 1px #ffffff, 1px 1px #000000;
    	background-color: #aaa;
    }
    .text3 {
    	color: #aaa;
    	text-shadow: -1px -1px 1px #000000, 1px 1px #ffffff;
    	background-color: #aaa;
    }
    .text4 {
    	 color: #aaaaff;
    	text-shadow: 1px 1px 0px #7777aa, 2px 2px 0px #7777aa, 3px 3px 0px #7777aa, 4px 4px 0px #7777aa, 5px 5px 0px #7777aa;
    }

    {{{h_tag('This is H2-1',2,'text1');}}}
    {{{h_tag('This is H2-2',2,'text2');}}}
    {{{h_tag('This is H2-3',2,'text3');}}}
    {{{h_tag('This is H2-4',2,'text4');}}}

    This is H2-1


    This is H2-2


    This is H2-3


    This is H2-4





 

How to display plugin code?

Use Shortcode.
Display Plugin's Code
* 5:[dpc]~~~~[/dpc]

 See .  ShortCode_XH

News02

{{{g_adsense();}}}