Changeset 2907011
- Timestamp:
- 05/02/2023 12:25:18 PM (3 years ago)
- Location:
- wdv-one-page-docs/trunk
- Files:
-
- 5 edited
-
README.txt (modified) (3 diffs)
-
includes/class-wdv-one-page-doc-shortcode.php (modified) (2 diffs)
-
includes/class-wdv-one-page-docs-shortcode.php (modified) (2 diffs)
-
public/class-wdv-one-page-docs-public.php (modified) (1 diff)
-
wdv-one-page-docs.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wdv-one-page-docs/trunk/README.txt
r2856538 r2907011 4 4 Tags: document, documentation, faq, knowledge base, docs, support 5 5 Requires at least: 5.2 6 Tested up to: 6. 1.16 Tested up to: 6.2 7 7 Stable tag: trunk 8 8 Requires PHP: 7.0 … … 81 81 = 1.1.4 = 82 82 = 1.2.1 = 83 = 1.2.2 = 83 84 84 85 == Upgrade Notice == … … 90 91 = 1.1.4 = 91 92 = 1.2.1 = 93 = 1.2.2 = -
wdv-one-page-docs/trunk/includes/class-wdv-one-page-doc-shortcode.php
r2396161 r2907011 5 5 */ 6 6 class Wdv_One_Page_Doc_Shortcode { 7 7 public string $shortcodedoc; 8 8 public function __construct() { 9 9 add_shortcode( 'wdvdoc', array( $this, 'shortcode' ) ); … … 22 22 23 23 global $wdv_atts; 24 25 $wdv_atts = shortcode_atts( array('id' => '', ), $atts, 'wdvdoc');24 $shortcodedoc = 'wdvdoc'; 25 $wdv_atts = shortcode_atts( array('id' => '', ), $atts, $shortcodedoc ); 26 26 27 27 $template = new SC101_Template_Loader(); -
wdv-one-page-docs/trunk/includes/class-wdv-one-page-docs-shortcode.php
r2396161 r2907011 5 5 */ 6 6 class Wdv_One_Page_Docs_Shortcode { 7 7 public string $shortcodedocs; 8 8 public function __construct() { 9 9 add_shortcode( 'wdvdocs', array( $this, 'shortcodes' ) ); … … 22 22 23 23 global $wdvdocs_atts; 24 24 $shortcodedocs = 'wdvdocs'; 25 25 $wdvdocs_atts = shortcode_atts( array( 26 26 'columns' => '2', 27 27 'txtcolor' => '#fff', 28 28 'bgcolor' => 'blue', 29 ), $atts, 'wdvdocs');29 ), $atts, $shortcodedocs ); 30 30 31 31 -
wdv-one-page-docs/trunk/public/class-wdv-one-page-docs-public.php
r2396161 r2907011 104 104 public function wdv_one_page_docs_shortcode() { 105 105 //add_shortcode( 'wdvdocs', array( $this, 'wdv_docs_shortcode') ); 106 //add_shortcode( 'wdvdoc', array( $this, 'wdv_doc_shortcode') ); 107 $this->shortcode= new Wdv_One_Page_Docs_Shortcode();108 $ this->shortcode= new Wdv_One_Page_Doc_Shortcode();106 //add_shortcode( 'wdvdoc', array( $this, 'wdv_doc_shortcode') ); 107 $shortcodedocs = new Wdv_One_Page_Docs_Shortcode(); 108 $shortcodedoc = new Wdv_One_Page_Doc_Shortcode(); 109 109 } 110 110 111 112 /*function wdv_docs_shortcode() {113 114 //return '<div class="wdv-docs-shortcode"><app-root></app-root></div>';115 $this->shortcode = new Wdv_One_Page_Docs_Shortcode();116 include_once plugin_dir_path( __FILE__ ) . 'partials/wdv-one-page-docs-public-wdv-docs-shortcode-display.php';117 }118 119 120 function wdv_doc_shortcode( $atts ) {121 $params = shortcode_atts( array( 'id' => '', ), $atts );122 123 return '<div class="wdv-doc-shortcode"><app-root data-docid="'. $params["id"] .'">124 </app-root></div>';125 }*/126 127 111 } -
wdv-one-page-docs/trunk/wdv-one-page-docs.php
r2453262 r2907011 17 17 * Plugin URI: https://wdvillage.com/product/wdv-one-page-docs/ 18 18 * Description: A one page documentation plugin for WordPress 19 * Version: 1.2. 119 * Version: 1.2.2 20 20 * Author: Wdvillage 21 21 * Author URI: https://wdvillage.com/ … … 36 36 * Rename this for your plugin and update it as you release new versions. 37 37 */ 38 define( 'WDV_ONE_PAGE_DOCS_VERSION', '1.2. 1' );38 define( 'WDV_ONE_PAGE_DOCS_VERSION', '1.2.2' ); 39 39 40 40 /**
Note: See TracChangeset
for help on using the changeset viewer.