Bloke
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Site displays different for each userThe 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?Forum: Fixing WordPress
In reply to: Site displays different for each userI 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.
Forum: Fixing WordPress
In reply to: Site displays different for each userYes 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.
Forum: Plugins
In reply to: [Plugin: wpec-product-slider] Missing optionsI 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.
Forum: Fixing WordPress
In reply to: Creating a custom widgetI 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.Forum: Fixing WordPress
In reply to: Showing first couple lines of postI 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?
Forum: Fixing WordPress
In reply to: Including a javacript URL with a spaceThanks. 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?
Forum: Fixing WordPress
In reply to: Showing first couple lines of postI 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 siteTry localhost/mySite/wp-login.php also verify if you have wordpress in a subfolder like: localhost/mySite/wordpress/wp-login.php
Forum: Fixing WordPress
In reply to: Allow Members to only see part of dashboardI recommend Role Scoper
Forum: Fixing WordPress
In reply to: Showing first couple lines of postThanks. 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; } }Forum: Plugins
In reply to: [WP eCommerce] Upgrading Wp-ecommerce and theme filesThese 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.phpForum: Plugins
In reply to: [WP eCommerce] Upgrading Wp-ecommerce and theme filesSo 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?
Forum: Fixing WordPress
In reply to: Showing first couple lines of postOk I guess I need to now add a read more… to the end of the content. How can do that?
Forum: Fixing WordPress
In reply to: Showing first couple lines of postGreat that worked. Thank you.