Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Search Results for 'cache'

Home / Forums / Search / Search Results for 'cache'

Viewing 20 results - 4,961 through 4,980 (of 5,558 total)
  • Author
    Search Results
  • In forum: Virtue Theme

    In reply to: Complany logo error

    #41874

    Hmm I’m not seeing this. Have you tried clearing your cache? Can you send a screenshot?

    Hannah

    #41826

    Thanks Ben,
    There is wp super cache installed and being activated, but…however no update automatically. Still need to manual go to page, and then click update.

    In forum: Virtue Theme

    In reply to: Chrome and IE problem

    #41727

    ok try clearing the cache in your browser. I’m looking on it with chrome right now without issue. And if it’s a logged in an logged out its usually caching with your caching plugin but if you’ve cleared the plugin the try clearing in the browser.

    Ben

    #41717

    If you go to the plugins page do you have wp super cache installed?

    Ben

    In forum: Virtue Theme

    In reply to: Chrome and IE problem

    #41711

    After you updated, did you clear that cache in w3 total cache?

    Ben

    #41704

    Clearing cache often does the trick! Glad sticky and shrink are working.
    As for the icons, more than likely you have a conflicting plugin. Try deactivating one by one as a test to see if the icons re-appear.

    Hannah

    #41679

    Hm, strange I just saw it right after the update and clearing the cache.

    In forum: Virtue Theme

    In reply to: Mobile menu

    #41658

    Also just so you are aware. Every time you make a change you have to clear the cache in your wp super cache settings.

    Ben

    #41541

    Sorry

    I deleted all the caches and it seems it works properly now.

    Thanks

    In forum: Pinnacle Theme

    In reply to: Large Menu Enabled

    #41507

    Hey, looks to me like the Ben’s css is working. Have you tried clearing your cache?

    Hannah

    #41390

    Log out of your site, then log back in. Try saving your theme options and let me know the exact error if you get one.

    Else you just need to add the css and make sure to clear your wp super cache.

    Ben

    #41343

    Hi Ben,

    I made that correction and it fixed the .footercredits size control issue. However I still can’t get the color to change. I believe that the .footercredits color is controlled in the virtue.css file. So, I added a virtue.css file in the child directory and added what I thought was the correct language to it to control the color. See the virtue.css language immediately below. .footercredits should be black but it is not. Still #aaa
    /*
    Theme Name: Virtue – Premium Child
    Template: virtue_premium
    Author: Child Theme Configurator
    Version: 1.0.1431572538
    Updated: 2015-05-13 20:02:18
    */
    @charset “UTF-8”;

    .product .kad_add_to_cart {
    font-size: 20px;
    text-transform: none;
    padding: 8px 18px;
    }

    .footercredits p {
    color: #000;
    }
    But it is not working for me. Also, I wanted to be able to control the .kad_add_to_cart text. I want it to be text-transform: none; instead of text-transform: uppercase;. That is also in the virtue.css file and it is not working either. Also, I have deleted cache many times and I also so it anytime I make a change. The only thing that is not working for me now are the changes to virtue.css in the child directory that I want.

    Below are ALL the modifications I have made to date. Everything works except the color in .footercredits and the .kad_add_to_cart uppercase issue.
    ==================================================================
    This is Currently in the custom css in the Advanced Settings box.
    #nav-main ul.sf-menu ul li a {
    font-size: 18px;
    }

    .headerclass {
    background: none repeat scroll 0 0 #efefef;
    }

    .footercredits p {
    font-size: 25px;
    }
    ============================================================
    And this is Currently in the virtue.css file in the child theme directory. NOT WORKING
    /*
    Theme Name: Virtue – Premium Child
    Template: virtue_premium
    Author: Child Theme Configurator
    Version: 1.0.1431572538
    Updated: 2015-05-13 20:02:18
    */

    @charset “UTF-8”;

    .product .kad_add_to_cart {
    font-size: 20px;
    text-transform: none;
    padding: 8px 18px;
    }

    .footercredits p {
    color: #000;
    }
    ================================================================
    And this is what is in my functions.php file under the child theme directory. I wanted to delete the sidebar on the product pages.

    <?php
    // Exit if accessed directly
    if ( !defined( ‘ABSPATH’ ) ) exit;

    // BEGIN ENQUEUE PARENT ACTION
    // AUTO GENERATED – Do not modify or remove comment markers above or below:

    if ( !function_exists( ‘chld_thm_cfg_parent_css’ ) ):
    function chld_thm_cfg_parent_css() {
    wp_enqueue_style( ‘chld_thm_cfg_parent’, trailingslashit( get_template_directory_uri() ) . ‘style.css’ );
    }
    endif;
    add_action( ‘wp_enqueue_scripts’, ‘chld_thm_cfg_parent_css’ );
    // END ENQUEUE PARENT ACTION

    add_filter(‘kadence_display_sidebar’, ‘search_sidebar’);
    function search_sidebar($sidebar) {
    if (is_search()) {
    return false;
    }
    return $sidebar;
    ==================================================================
    Below are the files in my child theme directory.
    /www/kellykaren.com/wp-content/themes/virtue_premium-child

    functions.php
    screenshot.png
    virtue.css

    Thanks again for the prompt response from you and Hannah. You guys give outstanding customer service. Much appreciated.

    #41269

    Hey nik, I’m seeing your description to the right of the images. Is this not what you mean? Have you tried clearing your cache?

    Hannah

    #41133

    ok in your child theme functions.php file add this:

    class kad_staff_recent_posts_widget extends WP_Widget {
    
      function kad_staff_recent_posts_widget() {
          $widget_ops = array('classname' => 'kadence_recent_posts', 'description' => __('This shows the most recent posts on your site with a thumbnail', 'pinnacle'));
          $this->WP_Widget('kadence_staff_recent_posts', __('Pinnacle: Staff Recent Posts', 'pinnacle'), $widget_ops);
          $this->alt_option_name = 'kadence_staff_recent_entries';
    
        add_action( 'save_post', array(&$this, 'flush_widget_cache') );
        add_action( 'deleted_post', array(&$this, 'flush_widget_cache') );
        add_action( 'switch_theme', array(&$this, 'flush_widget_cache') );
      }
    
      function widget($args, $instance) {
        $cache = wp_cache_get('kadence_staff_recent_posts', 'widget');
    
        if ( !is_array($cache) )
          $cache = array();
    
        if ( ! isset( $args['widget_id'] ) )
          $args['widget_id'] = $this->id;
    
        if ( isset( $cache[ $args['widget_id'] ] ) ) {
          echo $cache[ $args['widget_id'] ];
          return;
        }
    
        ob_start();
        extract($args);
    
        $title = apply_filters('widget_title', empty($instance['title']) ? __('Recent Posts', 'pinnacle') : $instance['title'], $instance, $this->id_base);
        if ( empty( $instance['number'] ) || ! $number = absint( $instance['number'] ) )
          $number = 10;
    
        $r = new WP_Query( apply_filters( 'widget_posts_args', array( 'posts_per_page' => $number, 'post_type' => 'staff', 'staff-group' => $instance['thecate'], 'no_found_rows' => true, 'post_status' => 'publish', 'ignore_sticky_posts' => true ) ) );
        if ($r->have_posts()) :
    ?>
        <?php echo $before_widget; ?>
        <?php if ( $title ) echo $before_title . $title . $after_title; ?>
        <ul>
        <?php  while ($r->have_posts()) : $r->the_post(); ?>
        <li class="clearfix postclass">
            <a href="<?php the_permalink() ?>" title="<?php echo esc_attr(get_the_title() ? get_the_title() : get_the_ID()); ?>" class="recentpost_featimg">
              <?php global $post; if(has_post_thumbnail( $post->ID ) ) { 
                the_post_thumbnail( 'widget-thumb' ); 
              } else { 
                $image_url = pinnacle_img_placeholder_small();
                $image = aq_resize($image_url, 60, 60, true);
                if(empty($image)) { $image = $image_url; }
                echo '<img width="60" height="60" src="'.esc_attr($image).'" class="attachment-widget-thumb wp-post-image" alt="">'; } ?></a>
            <a href="<?php the_permalink() ?>" title="<?php echo esc_attr(get_the_title() ? get_the_title() : get_the_ID()); ?>" class="recentpost_title"><?php if ( get_the_title() ) the_title(); else the_ID(); ?></a>
            <span class="recentpost_date color_gray"><?php echo get_the_date(get_option( 'date_format' )); ?></span>
            </li>
        <?php endwhile; ?>
        </ul>
        <?php echo $after_widget; ?>
    <?php
        // Reset the global $the_post as this query will have stomped on it
        wp_reset_postdata();
    
        endif;
    
        $cache[$args['widget_id']] = ob_get_flush();
        wp_cache_set('kadence_staff_recent_posts', $cache, 'widget');
      }
    
      function update( $new_instance, $old_instance ) {
        $instance = $old_instance;
        $instance['title'] = strip_tags($new_instance['title']);
        $instance['number'] = (int) $new_instance['number'];
        $instance['thecate'] = $new_instance['thecate'];
        $this->flush_widget_cache();
    
        $alloptions = wp_cache_get( 'alloptions', 'options' );
        if ( isset($alloptions['kadence_recent_entries']) )
          delete_option('kadence_recent_entries');
    
        return $instance;
      }
    
      function flush_widget_cache() {
        wp_cache_delete('kadence_staff_recent_posts', 'widget');
      }
    
      function form( $instance ) {
        $title = isset($instance['title']) ? esc_attr($instance['title']) : '';
        $number = isset($instance['number']) ? absint($instance['number']) : 5;
        if (isset($instance['thecate'])) { $thecate = esc_attr($instance['thecate']); } else {$thecate = '';}
         $categories= get_terms('staff-group');
         $cate_options = array();
              $cate_options[] = '<option value="">All</option>';
     
        foreach ($categories as $cate) {
          if ($thecate==$cate->slug) { $selected=' selected="selected"';} else { $selected=""; }
          $cate_options[] = '<option value="' . $cate->slug .'"' . $selected . '>' . $cate->name . '</option>';
        }
    
    ?>
        <p><label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title:', 'pinnacle'); ?></label>
        <input class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo $title; ?>" /></p>
    
        <p><label for="<?php echo $this->get_field_id('number'); ?>"><?php _e('Number of posts to show:', 'pinnacle'); ?></label>
        <input id="<?php echo $this->get_field_id('number'); ?>" name="<?php echo $this->get_field_name('number'); ?>" type="text" value="<?php echo $number; ?>" size="3" /></p>
            <p>
        <label for="<?php echo $this->get_field_id('thecate'); ?>"><?php _e('Limit to Catagory (Optional):', 'pinnacle'); ?></label>
        <select id="<?php echo $this->get_field_id('thecate'); ?>" name="<?php echo $this->get_field_name('thecate'); ?>"><?php echo implode('', $cate_options); ?></select>
      </p>
    <?php
      }
    }
    function kad_staff_post_widget() {
      register_widget('kad_staff_recent_posts_widget');
    }
    add_action('widgets_init', 'kad_staff_post_widget');

    That will give you the staff widget.

    Ben

    #41056

    I’m not seeing it. Could be you were seeing an uncached version before. Either way, glad it’s working now and if it comes back definitely let me know!

    #41055

    It was my mistake for the 2 blank spots because I accidently added two items w/o images and didn’t realize until a minute ago.
    The thing about spliting in two rows is not happening anymore but I wonder if that could happen again, after I deliver this project to my client, because it was happening after I cleared cache and all of a sudden it stopped.

    #41053

    Hey, I’m not seeing this. Have you tried clearing your cache?

    Hannah

    In forum: Virtue Theme
    #41018

    Hey, I’m seeing it in full width. What browser are you using? Have you tried clearing your cache?

    Hannah

    #40996

    Hello,

    I have run into some problems with using the theme options. Changes made in Theme Options don’t seem to be taking effect. This includes changing slides in the homepage slider, adding CSS to the Advanced Settings box, and assigning links to the social media icons in the top right corner. Changes made to posts and pages are showing up fine, as is CSS added in Appearance>Edit CSS. I have cleared my browser cache, flushed the supercache, and waited overnight, but still nothing. I’m very puzzled!

    On a possibly unrelated note, everything looks okay in Chrome, but the logo is floating off to the left in Firefox and IE, rather than being centred. This is a recent development, as it all looked okay last time I checked.

    Here is a link to the site: http://109.73.237.192/~oref9469/

    Any help with any of this would be much appreciated!

    C

    In forum: Virtue Theme

    In reply to: Virtue Theme Update

    #40937

    Satoko, can you just post in your own topic and post a login to your site. I would be happy to clear you cache for you and get everything working.

    Ben

Viewing 20 results - 4,961 through 4,980 (of 5,558 total)