Tanzi001
Forum Replies Created
-
Forum: Plugins
In reply to: [Newsletter - Send awesome emails from WordPress] PermissionsThis is the code I have in my child functions.php
// Add a custom user role
$result = add_role( ‘web-owner’, __(
‘Web Owner’ ),
array(
‘read’ => true, // true allows this capability
‘edit_posts’ => true, // Allows user to edit their own posts
‘edit_pages’ => true, // Allows user to edit pages
‘edit_events’ => true, // Allows user to edit events
‘edit_others_posts’ => true, // Allows user to edit others posts not just their own
‘edit_categories’ => true, // Allows user to edit their own newsletters
‘create_posts’ => true, // Allows user to create new posts
‘create_pages’ => true, // Allows user to create new pages
‘create_events’ => true, // Allows user to create new events
‘create_categories’ => true, // Allows user to create new categories
‘manage_categories’ => true, // Allows user to manage post categories
‘publish_posts’ => true, // Allows the user to publish, otherwise posts stays in draft mode
‘publish_pages’ => true, // Allows the user to publish, otherwise pages stays in draft mode
‘publish_events’ => true, // Allows the user to publish, otherwise events stays in draft mode
‘publish_categories’ => true, // Allows the user to publish, otherwise pages stays in draft mode
‘edit_themes’ => false, // false denies this capability. User can’t edit your theme
‘install_plugins’ => false, // User cant add new plugins
‘update_plugin’ => false, // User can’t update any plugins
‘update_core’ => false // user cant perform core updates)
);
The manage categories didn’t allow it so do I now add manage_options to this code?
Thanks
Forum: Plugins
In reply to: [Event Organiser Posterboard] Google maps not workingThank you ??
Forum: Fixing WordPress
In reply to: remove @import from shopisle themeI didn’t realize. Yes I have already looked at https://themeisle.com/forums and as I said the authors don’t know.
I thought I could just ask a general wordpress question on this forum sorry.Tanzi
Forum: Themes and Templates
In reply to: [Vantage] Defer Parsing of Java Script on vantage ThemeHi Jods I struggle along myself and Dr google is my best friend. It looks like no-one has answered so I’ll share with you what I know however little it is.
I found this website https://varvy.com he is super cool at explaining things
I found this link that may help you but myself, I can’t work out what “Change the “defer.js” to the name of your external JS file” means exactly
https://varvy.com/pagespeed/defer-loading-javascript.html
Anyway have a read it may help you ??
TanziForum: Themes and Templates
In reply to: Theme Astrid CTA not good on small screensSorry I think I fixed it I put an other image in for small screens as suggested under 2014px thanks
Forum: Themes and Templates
In reply to: Theme Astrid CTA not good on small screensActually it’s the whole header area on small screens that is bad which leads me to think there is probably an easy fix in @media or something, I just don’t know what it is ??
Forum: Themes and Templates
In reply to: Theme Astrid childI realized that the sidebar widgets didn’t carry over so I added them in manually.
then I found
/**
<?php
/**
* Sidebar
*
* This template can be overridden by copying it to yourtheme/woocommerce/global/sidebar.php.
*
* HOWEVER, on occasion WooCommerce will need to update template files and you (the theme developer).
* will need to copy the new files to your theme to maintain compatibility. We try to do this.
* as little as possible, but it does happen. When this occurs the version of the template file will.
* be bumped and the readme will list any important changes.
*
* @see https://docs.woothemes.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 1.6.4
*/if ( ! defined( ‘ABSPATH’ ) ) {
exit; // Exit if accessed directly
}get_sidebar( ‘shop’ ); ?>
*/Forum: Themes and Templates
In reply to: Theme Astrid child/* this fixed the products
function theme_enqueue_styles() {$parent_style = ‘parent-style’;
wp_enqueue_style( $parent_style, get_template_directory_uri() . ‘/style.css’ );
wp_enqueue_style( ‘child-style’,
get_stylesheet_directory_uri() . ‘/style.css’,
array( $parent_style )
);
}
add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
/* but still no side bar…anyone?Hi,
waiting on your reply before I buy the theme.
I really like it and I want to move forward.
do you have another email address that I can fwd coding queries to you on.
https://www.funkyweddingideas.com.au
thanksForum: Plugins
In reply to: [Autoptimize] Sorry the page you're looking for is not availableIt’s Ok it was AIOWPS plugin phew!
Forum: Fixing WordPress
In reply to: woocommerce choose an option button not responsiveThank you ??
Forum: Fixing WordPress
In reply to: woocommerce choose an option button not responsivemy site is
funkyweddingideas.com.au
Forum: Themes and Templates
In reply to: [Tyros] Woo cpmmerce major upgradeI upgraded them all to the most recent update and it says
tyros/woocommerce/content-product.php version 1.6.4 is out of date. The core version is 2.5.0,
when I do that it changes all my shop pages from 4 in a row to 3 in some rows and 1 in another.
when i put version 1.6.4 back it’s fine.
Any clues anyone?
Forum: Themes and Templates
In reply to: [Tyros] product description all upper case,Well now only some of the products have uppercase even though they are paragraph lowercase in the back end. I just don’t know why this is happening!
Anyone have a clue???
Thanks ??Forum: Themes and Templates
In reply to: [Tyros] Main image single product page.single .wp-post-image {
margin: 0 20px 20px 0;
max-width: 250px;
fixed it.