cjamieson1992
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Looking for Gallery PluginI would need a little more information. There are dozen’s of plugins that fit your description. How do you want your gallery laid out?
Forum: Plugins
In reply to: [WooCommerce] Woocommerce – getting rid of sorting optionHmmm… It’s still showing. I tried clearing my cache too.
Forum: Fixing WordPress
In reply to: _wordpress in permalinksDominic- the issue was that the _wordpress that was locked into the domain.
Thanks Keith- that worked! I just changed the function.php file.
Forum: Fixing WordPress
In reply to: Website Header- how to make larger header areaOr rather! I got it bigger- however there is now massive gaps around it- how do I get rid of the gaps above and below.
Thanks so much!!!!
Forum: Fixing WordPress
In reply to: Website Header- how to make larger header areaThanks luckychinigi!
I’m still a little stuck- It is set at 3500 pixels right now. I have the image with 3300 pixels in height. Even if I enter that it still says ‘crop image’ and won’t let me skip that when adding the header. The image in it is 2700 pixels
Anyway to get around this?
Forum: Themes and Templates
In reply to: [Regina Lite] Header images on pagesYes- for sure there is. On top of pages? Blog posts? Slider or plain?
Forum: Themes and Templates
In reply to: How to auto size and crop featured images on blog pageThe issue is the vertical photos- I want them to crop to look like the horizontal photos. So it’s all equal. Not sure if that makes sense
Forum: Plugins
In reply to: [WooCommerce] How to center woocommerce categories in shopWorked awesome! Thanks!
Forum: Plugins
In reply to: [WooCommerce] How to center woocommerce categories in shophttps://posieandpine.com/shop/
Thanks!
The file now exists
This is the code for it but it only goes up to up to line 28 and it says error is on 53
`// https://jameskoster.co.uk/snippets/disable-woocommerce-styles/
// add_filter( ‘woocommerce_enqueue_styles’, ‘__return_false’ );// Redefine woocommerce_output_related_products()
if ( ! function_exists( ‘woocommerce_output_related_products’ ) ) {
function woocommerce_output_related_products() {
$args = array(
‘posts_per_page’ => 4,
‘columns’ => 4,
‘orderby’ => ‘rand’
);woocommerce_related_products( $args ); // Display n products in n columns
}
}// Display 12 products per page.
add_filter( ‘loop_shop_per_page’, create_function( ‘$cols’, ‘return 12;’ ), 20 );remove_action( ‘woocommerce_before_main_content’, ‘woocommerce_output_content_wrapper’, 10);
remove_action( ‘woocommerce_after_main_content’, ‘woocommerce_output_content_wrapper_end’, 10);function wpcanvas2_wrapper_start() {
global $posts_per_page;
$posts_per_page = 4;
echo ‘<div id=”primary” class=”content-area”>’;
echo ‘<main id=”main” class=”site-main” role=”main”>’;
}
add_action(‘woocommerce_before_main_content’, ‘wpcanvas2_wrapper_start’, 10);function wpcanvas2_wrapper_end() {
echo ‘</main>’;
echo ‘</div>’;
}
add_action(‘woocommerce_after_main_content’, ‘wpcanvas2_wrapper_end’, 10);// remove breadcrumbs for woocommerce
// remove_action( ‘woocommerce_before_main_content’,’woocommerce_breadcrumb’, 20, 0);function wpcanvas2_woocommerce_setup() {
//Declare WooCommerce support
add_theme_support( ‘woocommerce’ );}
add_action( ‘after_setup_theme’, ‘wpcanvas2_woocommerce_setup’ ).’