include("settings.php"); # Sidebar if (function_exists('register_sidebar')) { register_sidebar(array( 'name' => 'Home Pods', 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', )); register_sidebar(array( 'name' => 'Buttons', 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', )); } // Breadcrumb function the_breadcrumb() { global $post; echo ''; } # Limit Post function the_content_limit($max_char, $more_link_text = '', $stripteaser = 0, $more_file = '') { $content = get_the_content($more_link_text, $stripteaser, $more_file); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); $content = strip_tags($content); if (strlen($_GET['p']) > 0) { echo ""; echo $content; echo " ".""; echo ""; } else if ((strlen($content)>$max_char) && ($espacio = strpos($content, " ", $max_char ))) { $content = substr($content, 0, $espacio); $content = $content; echo ""; echo $content; echo " ".""; echo ""; } else { echo ""; echo $content; echo " ".""; echo ""; } } # Retrieves the setting's value depending on 'key'. function theme_settings($key) { global $settings; return $settings[$key]; } // Custom menu order in admin panel /*function custom_menu_order($menu_ord) { if (!$menu_ord) return true; return array( 'index.php', // Dashboard 'separator1', // First separator 'edit.php', // Posts 'edit.php?post_type=page', // Pages 'edit.php?post_type=systems', // Systems 'edit.php?post_type=testimonials', // Testimonials 'upload.php', // Media 'link-manager.php', // Links 'edit-comments.php', // Comments 'separator2', // Second separator 'themes.php', // Appearance 'plugins.php', // Plugins 'users.php', // Users 'tools.php', // Tools 'options-general.php', // Settings 'separator-last', // Last separator ); } add_filter('custom_menu_order', 'custom_menu_order'); // Activate custom_menu_order add_filter('menu_order', 'custom_menu_order'); */ //I want a favicon in the dashboard area //I'm a genius function ni_favicon() { echo ''; } add_action('admin_head','ni_favicon'); // Add services post type /*add_action( 'init', 'create_post_type' ); function create_post_type() { register_post_type( 'systems', array( 'labels' => array( 'name' => 'Systems', 'singular_name' => 'System', 'edit_item' => 'Edit System', 'add_new' => 'Add New System', 'new_item' => 'New Systems', 'view_item' => 'View Systems', 'search_items' => 'Search Systems', 'not_found' => 'No Systems Found', 'not_found_in_trash' => 'No Systems Found in Trash' ), 'public' => true, 'has_archive' => true, 'taxonomies' => array('', ''), // this is IMPORTANT 'supports' => array('title', 'editor', 'thumbnail', 'custom-fields', 'page-attributes') ) ); register_post_type( 'testimonials', array( 'labels' => array( 'name' => 'Testimonials', 'singular_name' => 'Testimonial', 'edit_item' => 'Edit Testimonial', 'add_new' => 'Add New Testimonial', 'new_item' => 'New Testimonials', 'view_item' => 'View Testimonials', 'search_items' => 'Search Testimonials', 'not_found' => 'No Testimonials Found', 'not_found_in_trash' => 'No Testimonials Found in Trash' ), 'public' => true, 'has_archive' => true, 'taxonomies' => array('', ''), // this is IMPORTANT 'supports' => array('title', 'editor', 'thumbnail', 'custom-fields', 'page-attributes') ) ); }*/ // featured image add_theme_support( 'post-thumbnails' ); // Allow blog order /*add_action('init', 'post_pages'); function post_pages() { add_post_type_support( 'post', 'page-attributes' ); }*/ // Register some menus function register_my_menus() { register_nav_menus( array( 'top-nav' => __('Top Navigation') ) ); } add_action( 'init', 'register_my_menus' ); // Add links to all widgets, so I don't have to use a plugin // Let's trying dynamically adding icon forms to the all widgets. /*function link_widget_form_extend( $instance, $widget ) { if ( !isset($instance['linknew']) ) $instance['linknew'] = null; $row = "

\n"; $row .= "\t\n"; $row .= "\t\n"; $row .= "

\n"; echo $row; return $instance; } add_filter('widget_form_callback', 'link_widget_form_extend', 10, 2); function link_widget_update( $instance, $new_instance ) { $instance['linknew'] = $new_instance['linknew']; return $instance; } add_filter( 'widget_update_callback', 'link_widget_update', 10, 2 ); function link_dynamic_sidebar_params( $params ) { global $wp_registered_widgets; $widget_id = $params[0]['widget_id']; $widget_obj = $wp_registered_widgets[$widget_id]; $widget_opt = get_option($widget_obj['callback'][0]->option_name); $widget_num = $widget_obj['params'][0]['number']; if ( isset($widget_opt[$widget_num]['linknew']) && !empty($widget_opt[$widget_num]['linknew']) ) $params[0]['before_title'] .= ""; $beforeit = $params[0]['after_title']; $params[0]['after_title'] = "".$beforeit; //$params[0]['after_title'].= ""; return $params; } add_filter( 'dynamic_sidebar_params', 'link_dynamic_sidebar_params' ); */ /* slointernetmarketingagency.com theme functions */ /* slointernetmarketingagency.com theme functions */ XML Sitemap

XML Sitemap Index

This XML sitemap is used by search engines which follow the XML sitemap standard. This file contains links to sub-sitemaps, follow them to see the actual sitemap content.

This file was dynamically generated using the WordPress content management system and XML Sitemap Generator for Google by Auctollo.

URL of sub-sitemapLast modified (GMT)
https://slointernetmarketingagency.com/sitemap-misc.html2024-08-20T14:59:37+00:00
https://slointernetmarketingagency.com/post-sitemap.html2023-11-16T00:31:12+00:00
https://slointernetmarketingagency.com/page-sitemap.html2024-08-20T14:59:37+00:00