Changeset 2777252
- Timestamp:
- 08/29/2022 02:36:44 PM (4 years ago)
- Location:
- hellowoofy-com/trunk
- Files:
-
- 3 edited
-
admin/class-custom-post-archieve.php (modified) (2 diffs)
-
hellowoofy-com.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
hellowoofy-com/trunk/admin/class-custom-post-archieve.php
r2777219 r2777252 11 11 * @subpackage Max_web_story/public/assets/partials 12 12 */ 13 $total_path = plugin_dir_url( __FILE__ ); 14 $img_bg_url = dirname( $total_path ) . '/public/assets/img/1.png'; 15 $sidebar_logo = dirname( $total_path ) . '/assets/img/new-logo.png'; 16 $position = get_option( 'mws_select_position' ); 17 $check_enable = get_option( 'mws_enable' ); 18 global $post; 19 $post_slug = $post->post_name; 20 if ( is_front_page() ) { 21 $post_slug = 'home'; 22 } 23 $get_selected_pages = get_option( 'mws_select_page' ); 24 if ( ! empty( $get_selected_pages ) && ! empty( $check_enable ) ) { 25 if ( in_array( $post_slug, $get_selected_pages ) ) { 26 wp_enqueue_style( 'mws_pubilc_card_css' ); 27 wp_enqueue_script( 'mws_publc_main_js' ); 28 } 29 } 30 if ( 'right' == $position ) { 31 $icon_pos = 'right:30px;'; 32 } else { 33 $icon_pos = 'left:30px;'; 34 } 35 $attachment_id = get_option( 'mws_default_webstory_icon' ); 36 global $wpdb; 37 $table_name = $wpdb->prefix . 'posts'; 38 $img = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM {$wpdb->prefix}posts WHERE ID = %d", $attachment_id ) ); 39 if ( empty( $img ) ) { 40 $img = $img_bg_url; 41 } else { 42 $img = $img->guid; 43 } 44 if ( ! empty( $check_enable ) && ! empty( $get_selected_pages ) ) { 45 ?> 13 ?> 46 14 <style type="text/css"> 47 15 .mws_entry-point-card-img { … … 276 244 277 245 </div> 278 <?php } ?> 246 -
hellowoofy-com/trunk/hellowoofy-com.php
r2777219 r2777252 4 4 * Plugin URI: https://hellowoofy.com/hellowoofy-wordpress-plugin/ 5 5 * Description: Create marketing content automatically using data science. 6 * Version: 1.1. 26 * Version: 1.1.3 7 7 * Author: HelloWoofy.com 8 8 * Author URI: https://hellowoofy.com … … 39 39 } 40 40 if ( ! defined( 'MWS_PLUGIN_VERSION' ) ) { 41 define( 'MWS_PLUGIN_VERSION', '1.1. 2' );41 define( 'MWS_PLUGIN_VERSION', '1.1.3' ); 42 42 } 43 43 -
hellowoofy-com/trunk/readme.txt
r2777219 r2777252 5 5 Requires at least: 3.5 6 6 Tested up to: 6.0 7 Stable tag: 1.1. 27 Stable tag: 1.1.3 8 8 Requires PHP: 5.6.20 9 9 License: GPLv2 or later
Note: See TracChangeset
for help on using the changeset viewer.