Kanger
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: Different lengths for Excerpt in different locationsThank you both
Forum: Developing with WordPress
In reply to: Page Slug not workingThank you…I tried that to no avail…think it may have been my dodgy coding, but gave me the idea to use url to check if it’s the page I’m after so I ended up doing this….
`$url = ‘http://’ . $_SERVER[‘SERVER_NAME’] . $_SERVER[‘REQUEST_URI’];
if (strpos($url,’news/’) !== false) {
if ( is_active_sidebar(‘news-page-image’)) {
dynamic_sidebar(‘news-page-image’);
}}
else {}`
Forum: Developing with WordPress
In reply to: Page Slug not workingAlso forgot to mention…
on the news page in dashboard there is no editor box like all the other pages have…it is just page title and slug, no editor…not sure why that is or if it may be causing the issue.
Forum: Fixing WordPress
In reply to: What php file does Woocommerce ‘shop’ page use?Anyone, got any ideas?
I read something about ‘hooks’ but not sure I understand those… basically I need a way to be able to add a line of code to the ‘shop’ page.
Thanks in advance
Forum: Plugins
In reply to: [WooCommerce] WooCommerce Page TemplatesPlease could you explain…I want to edit my shop page (pull in a widget/sidebar at bottom) and can’t figure out how to do it. Editing the archive-product.php page doesn’t work..seems to be using something else but can’t figure out what.
ThanksForum: Fixing WordPress
In reply to: What php file does Woocommerce ‘shop’ page use?This is code in both taxonomy files…
if ( ! defined( ‘ABSPATH’ ) ) {
exit; // Exit if accessed directly
}wc_get_template( ‘archive-product.php’ );
Then archive-product.php I have added lines of test code and it’s not showing….I did read something about woocommerce.php overriding it or something since 2016
Forum: Fixing WordPress
In reply to: What php file does Woocommerce ‘shop’ page use?I thought the shop used archive-product.php but I’ve tried altering that and it doesn’t change anything on shop page (taxonomy-product etc just call in the archive-product.php file)
Forum: Fixing WordPress
In reply to: What php file does Woocommerce ‘shop’ page use?Actually, I think it uses the page.php …my sidebar isn’t showing though, I’ve registered it and it’s showing on admin dashboard, just not being pulled in, I’ve put …
if page is ‘shop’ kind of thingForum: Fixing WordPress
In reply to: ‘T’ Favicon suddenly appeared on siteOk, i think I’ve fixed it.
I think the change may be to do with there being a different favicon set up for WP 4.3 and later and a different method for ealier versions. (see https://codex.wordpress.org/Creating_a_Favicon#Creating_a_Favicon)
I went into Appearance, customise, site identity, site icon and reuploaded larger image
Hopefully working now
Thank you
Forum: Fixing WordPress
In reply to: ‘T’ Favicon suddenly appeared on siteI get it showing on the bookmark…I’ve screenshot it, but i don’t think I can add an image here.
Do you get a little plane gif showing on bookmark or anything?
Thanks for checking btw
I don’t get the ‘contains errors’ message has wordpress changed the way favicon works?
Forum: Fixing WordPress
In reply to: ‘T’ Favicon suddenly appeared on siteForum: Themes and Templates
In reply to: Activello Theme front page layoutactually, think I’ve figured it out, it’s done in the css
cheers
Forum: Themes and Templates
In reply to: Nav Menu not working iPad PortraitActually, I think I have just managed to fix! Posting in a forum always seems to proceed me then solving issue!
Forum: Fixing WordPress
In reply to: Sidebar not workingWorking now, not sure what happened.
Forum: Fixing WordPress
In reply to: Set up a new user as an Author, but they can only view?I tried to change it to editor and that allowed them to edit and delete pages too which I don’t want