ckheaton
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Brute Force, Same User, All Different IPsThank you both! @otto42 This site unfortunately already has the Jetpack Brute Force Protection enabled and Akismet too.
I used to use WangGuard with great success on user management in general, haven’t found anything comparable since the service went down.
I’ll try the Cloud Flare page rule for bots – that seems like it should help block more than this one persistent username… either way I’ll know within 48 hours and will let you know!
Forum: Plugins
In reply to: [Email Login] Plugin no longer needed?Awesome that its part of core, but it doesn’t appear to work for woocommerce customers, bbpress participants or anyone that doesn’t have access to the dashboard.
I’ve had this happen in 2 completely different environments where all of a sudden my users are starting to login via email because it says they can and it fails.
Where should I have posted this? ??
Forum: Plugins
In reply to: [WooCommerce] Default shipping method selected no longer cheapestHey there,
Is it possible to (instead of change woocommerce core) add a function to my function’s file to get this back?Or pjv can you tell me how you did this? Thanks!
Forum: Plugins
In reply to: [WooCommerce] Can't change order of Shipping MethodsI just need the cheapest method to be selected by default – like it used to be.
Now UPS ground is my default option and it is not always the cheapest.
So, no ordering needed – but default select lowest – help?Forum: Plugins
In reply to: [Ajaxy Instant Search] Working Great – Except for searching in contentYes & No.
I got it working with a different ajax search plugin and Relevanssi.Forum: Plugins
In reply to: [WP eCommerce] [Plugin: WP e-Commerce] display categories nameIf you want to display the category NAME not the product listing… You would need to edit your template file: wpsc-category-list.php
By default the [showcategories] shortcode shows the category image grid ( regardless of your presentation settings ) . See the original code below:
<?php /** * wpsc-category-shortcode is the code trigered by using the [showcategories] shortcode * @package wp-e-commerce * @since 3.8 */ ?> <div class="wpsc_categories wpsc_category_grid group"> <?php wpsc_start_category_query(array('category_group'=> get_option('wpsc_default_category'), 'show_thumbnails'=> 1)); ?> <a href="<?php wpsc_print_category_url();?>" class="wpsc_category_grid_item <?php wpsc_print_category_classes_section(); ?>" title="<?php wpsc_print_category_name(); ?>"> <?php wpsc_print_category_image(get_option('category_image_width'),get_option('category_image_height')); ?> </a> <?php wpsc_print_subcategory("", ""); ?> <?php wpsc_end_category_query(); ?> </div><!--close wpsc_categories--> <?php ?>
I updated the link class to wpsc_category_link and changed the wpsc_print_category_image to wpsc_print_category_name:
<?php /** * wpsc-category-shortcode is the code trigered by using the [showcategories] shortcode * @package wp-e-commerce * @since 3.8 */ ?> <div class="wpsc_categories wpsc_category_grid group"> <?php wpsc_start_category_query(array('category_group'=> get_option('wpsc_default_category'), 'show_thumbnails'=> 1)); ?> <a href="<?php wpsc_print_category_url();?>" class="wpsc_category_link <?php wpsc_print_category_classes_section(); ?>" title="<?php wpsc_print_category_name(); ?>"> <?php //Print Category Name wpsc_print_category_name(); ?> </a> <?php wpsc_print_subcategory("", ""); ?> <?php wpsc_end_category_query(); ?> </div><!--close wpsc_categories--> <?php ?>
I also was able to print only the sub categories of a particular parent category in my taxonomy template files ( taxonomy-wpsc_product_category-CATEGORY SLUG.php ) by indicating the parent category ID. In this case my product category ID is 27.
<ul class="wpsc_categories"> <?php wpsc_start_category_query(array('parent_category_id'=> 27, 'show_thumbnails'=> 1)); ?> <li><a href="<?php wpsc_print_category_url();?>" class="wpsc_category_link" title="<?php wpsc_print_category_name(); ?>"> <?php wpsc_print_category_name(); ?> </a></li> <?php wpsc_print_subcategory("", ""); ?> <?php wpsc_end_category_query(); ?> </ul>
Follow standard WordPress template hierarchy for taxonomies. The taxonomy is wpsc_product_category.
Use: taxonomy-wpsc_product_category-[CATEGORY SLUG].php
So, if my category is Shirts, then WordPress will look for:
taxonomy-wpsc_product_category-shirts.phpForum: Plugins
In reply to: [WP Client File Share] [Plugin: WP Client File Share] Can't edit the pagesI second this request! It would be much easier in a custom post type.
I used the plugins Sidebar Login for a front-end login widget and Peter’s Login Redirect to get the redirect to the file sharers page.
Peter’s Login Redirect can specify a user role to redirect upon login.
Install both plugins. Add the Sidebar Login Widget to your site
Then, under Settings> Login/logout redirects specify all users with the role “file sharer” to redirect to:
https://thesite.com/wp-client-file-share/[variable]username[/variable]s-file-share-page/
Replace “thesite.com” to your website address and Voila.
Forum: Themes and Templates
In reply to: Add sidebar to Twentyeleven child themeLike to get this working in a child theme…. fourth footer is coming up but the “four” class is not. I am using the same code, but am unsure as how to ADD code “inside the function twentyeleven_footer_sidebar_class()” in a child theme functions file? Do you add a filter? Somehow, I am missing something seemingly simple.
function update_footer_sidebar_class() { $count = 0; if ( is_active_sidebar( 'sidebar-3' ) ) $count++; if ( is_active_sidebar( 'sidebar-4' ) ) $count++; if ( is_active_sidebar( 'sidebar-5' ) ) $count++; if ( is_active_sidebar( 'sidebar-6' ) ) $count++; $class = ''; switch ( $count ) { case '1': $class = 'one'; break; case '2': $class = 'two'; break; case '3': $class = 'three'; break; case '4': $class = 'four'; break; } if ( $class ) echo 'class="' . $class . '"'; }
Forum: Themes and Templates
In reply to: Single Page Theme DevelopmentWith the amount of scrolling involved in a typical blog, I personally would make the blog a separate page.
However you could feed the blog content (or the excerpt) in with RSS and link to each post – having the posts be separate pages.
Forum: Themes and Templates
In reply to: Single Page Theme DevelopmentI have been reviewing how a few other sites accomplished it.
I am using the jQuery.ScrollTo plugin to get it to move the way I want.As far as developing in WordPress…
I have my main navigation set to all #anchors through custom menu links, so after that its all css & jQ.The only thing I am not happy about is having everything set up in one page in the back-end. Not so great for users. I’m just a novice with PHP there’s probably a way to call additional pages into one page – but probably messy, so I’ll just deal.
Forum: Installing WordPress
In reply to: Problem with auto update – No FTP accessI’m running into the same problem – however I found this : https://www.raditha.com/blog/archives/wordpress-auto-upgrade-and-sftp.html
I am certainly not a server-side expert but this seems to be a hop in the right direction.
Forum: Installing WordPress
In reply to: Ftped the files /install.php only shows white pageI finally have success, but I did have to work with the hosting company as well – line 77 was coming up again and again as an error.
It was a permissions problem.Forum: Installing WordPress
In reply to: Ftped the files /install.php only shows white pageThe reason I mentioned: Both DB’s have different username/passwords as their FTP –
The database’s username/password were originally set up with the same username/password as the domain’s FTP – I thought that may have been causing the problems because it could be a security issue. I have told the host to change this, however it didn’t solve the problem when I updated the configuration file and re-uploaded the entire folder.