Forum Replies Created

Viewing 15 replies - 451 through 465 (of 574 total)
  • Thread Starter Bloke

    (@bloke)

    The cart looks different depending on the user that is logged in. I looked at the CSS to see what could be causing this. With one user it loads gold_cart.css?ver=3.5.1 and under another it loads grid_view.css?ver=3.5.1
    Any idea what could be causing this?

    Thread Starter Bloke

    (@bloke)

    I tried added a 3rd admin user and its the same result. My login shows one look, and if you are logged out or logged in with other user names you see a different look. I went through the CSS to make sure there was no logged in declarations.

    Thread Starter Bloke

    (@bloke)

    Yes I deactivated each plug in. Switched between the main theme and my child theme. Deleted my child theme. Its the weirdest thing. I also thought it might be my “under construction” plug in. But I deactivated that and when I viewed the page it looked like the 2nd admin would see if logged in. Not what it looks like when 1st admin account is logged in. Also I removed a “theme my plug in” for user log ins.

    Thread Starter Bloke

    (@bloke)

    I got it figured out. I didn’t see the “add new” button on the top of the page. I was able to add a new custom field and it didn’t effect the ones created by the developer. I guess if I need to change them I can edit the code. Because they don’t show up in the ACF window.

    Thread Starter Bloke

    (@bloke)

    I got it working. I had to declare the variable again inside the function.
    $person_name = $instance[‘person_name’];
    query_posts(‘cat=10&name=’.$person_name.’&posts_per_page=1′);//added ‘. on either side of variable.

    Thread Starter Bloke

    (@bloke)

    I put that code in my functions file in my child theme. The rest of my code is in one plugin file. At first it didn’t work and I realized nothing was calling the function to show the link.

    I added echo auto_excerpt_more(); in my plugin file and it shows. Is that correct?

    Thread Starter Bloke

    (@bloke)

    Thanks. I am using a child theme so when I added the code above it put the URL of the root theme. So do I have to put my js file in there?

    Thread Starter Bloke

    (@bloke)

    I put them in my theme functions file. I think this line is missing a closing quote or something because I get an error:

    function continue_reading_link() {
        return '... <p><a href="'. get_permalink() . '" title="' . __( 'Continue Reading' ) ." class="read-more-link">' . __( 'Read More »' ) . '</a></p>';
    }

    I changed .” class=”read-more-link”>’ to
    .’ class=”read-more-link”>’
    but still not working.

    Forum: Fixing WordPress
    In reply to: Localhost site

    Try localhost/mySite/wp-login.php also verify if you have wordpress in a subfolder like: localhost/mySite/wordpress/wp-login.php

    I recommend Role Scoper

    Thread Starter Bloke

    (@bloke)

    Thanks. I tried it but could find where to lace it to get it to work. Either there is a typo or the balance or brackets was off. It won;t work above or below the widget function.

    function widget($args, $instance)
      {
        extract($args, EXTR_SKIP);
    
        echo $before_widget;
        $title = empty($instance['title']) ? ' ' : apply_filters('widget_title', $instance['title']);
    
        if (!empty($title))
          echo '<p class="title">' .$before_title . $title . $after_title;
    
        // WIDGET CODE GOES HERE
    
    query_posts('cat=10&posts_per_page=1');	
    
    if (have_posts()) : ?>
    	<?php while (have_posts()) : the_post();echo ':  ';
    		 the_title(); echo '<br/>';?></p>
    <?php the_post_thumbnail(apply_filters('graphene_excerpt_thumbnail_size', 'thumbnail'));
    
    $content = substr(get_the_content(),0,290);
    
    echo '<p span class="here">'; echo preg_replace ('/\[.*\]/', '', $content); echo '</span></p>';
    	endwhile;
    endif; ?>
    
    <?php wp_reset_query();
    
        echo $after_widget;
      }
    
    }
    Thread Starter Bloke

    (@bloke)

    These are the list of files that are in my theme folder and also show in wpsc-theme folder.
    The developer said I don’t need to copy these over to my theme folder. But if wp-ecommerce updates files my theme will be out of date or might not work.
    wpsc-cart_widget.php
    wpsc-category_list.php
    wpsc-category_widget.php
    wpsc_defualt.css
    wpsc-featured_product.php
    wpsc-grid_view.php
    wpsc-list_view
    wpsc-products_page.php
    wpsc-shopping_cart_page.php
    wpsc-single_product.php
    wpsc-transaction_results.php
    wpscp-user-log.php

    Thread Starter Bloke

    (@bloke)

    So as new updates come with wp-ecommerce these files in my theme will become outdated? I got a message that wpsc-user-log.php page had a bug. So would this file be ok to override in my theme?

    Also it says WP e-Commerce is ready. If you plan on editing the look of your site, you should update your active theme to include the additional WP e-Commerce files. So does this move them to my theme?

    Thread Starter Bloke

    (@bloke)

    Ok I guess I need to now add a read more… to the end of the content. How can do that?

    Thread Starter Bloke

    (@bloke)

    Great that worked. Thank you.

Viewing 15 replies - 451 through 465 (of 574 total)