Search found 4432 matches

by simonmlewis
Mon Jun 17, 2019 5:25 am
Forum: Databases
Topic: Array to find providers based on Answers to Qs
Replies: 1
Views: 71566

Array to find providers based on Answers to Qs

Hi there I'm a little bit rusty these days with My-SQL so hoping I can be led into a good route for this. We have been asked to do a website where people can answer questions (from dropdown answers), and the result will bring up a list of providers for language support. So if you answer Yes to "...
by simonmlewis
Tue Mar 26, 2019 6:17 am
Forum: PHP - Code
Topic: How do we build a Shortcode for Wordpress?
Replies: 1
Views: 77227

How do we build a Shortcode for Wordpress?

// Note: products shortcode docs https://docs.woocommerce.com/document/woocommerce-shortcodes/#section-6 // In order for the snippet to work, you must add the parameter orderby = "stock" to the shortcode // You can add more parameters to it of course e.g. limit, paginate, etc. It's all in...
by simonmlewis
Thu Mar 07, 2019 4:43 pm
Forum: General Discussion
Topic: SEO Blogging Wordpress Question
Replies: 2
Views: 79614

Re: SEO Blogging Wordpress Question

Is your website just a blog, or is a blog 'part of' your website?
by simonmlewis
Mon Mar 04, 2019 4:51 pm
Forum: HTML, CSS and other UI Design Technologies
Topic: Can I override this Javascript CSS myself?
Replies: 0
Views: 55888

Can I override this Javascript CSS myself?

We are using the Zendesk chat service, and the font use is Verdana. I want to override this to the font we have on our website, so it is more branded. They state this cannot be done, and you have to pay to do it, but I though that being CSS, I could just override. If I post the URL here, can someone...
by simonmlewis
Fri Feb 15, 2019 5:14 am
Forum: PHP - Code
Topic: Good code or bad code: my_sqli
Replies: 1
Views: 60733

Good code or bad code: my_sqli

We have taken on a website that has pre-built code, but there are parts of it that worry me. Firstly, the Update doesn't work. I think it is because the 'probtn' is not actually listed within the page at all, so that's failing anyway. But more of a worry is the format of the code. It doesn't seem pa...
by simonmlewis
Fri Feb 15, 2019 3:23 am
Forum: PHP - Code
Topic: I need to write a Wordpress Function, but really stuck
Replies: 2
Views: 60653

Re: I need to write a Wordpress Function, but really stuck

This is where I am going blind down an alley, with no idea where any door is. So I found a function that should extract brand name, but I think it is more for other parts of the site, but it's a start. // add brand to archive pages function bbloomer_show_woocommerce_brands_loop($productBrandTerm) { ...
by simonmlewis
Wed Feb 13, 2019 4:32 am
Forum: PHP - Code
Topic: I need to write a Wordpress Function, but really stuck
Replies: 2
Views: 60653

I need to write a Wordpress Function, but really stuck

Hi Not sure if this is the right place to ask this. I've used this forum extensively for PHP coding and learnt a massive amount, but this is about Wordpress. There are tutorials on how to do functions, but they are all about writing "hello there" in the header or footer of Wordpress; not h...
by simonmlewis
Fri Jan 04, 2019 5:37 pm
Forum: PHP - Code
Topic: Can you duplicate Keywords on other pages?
Replies: 1
Views: 59364

Can you duplicate Keywords on other pages?

Hi there. Not sure if this is the right location to ask this, but something is bugging me. One of our websites ranks really high for many of it's internal pages, when doing a localized search. ie. if you are in the USA, California Carpet Cleaner, for example (tho we are in the UK). The trouble is, t...
by simonmlewis
Mon Dec 03, 2018 3:23 am
Forum: PHP - Code
Topic: 301 in HTACCESS for all Wordpress Blog URLs
Replies: 0
Views: 62726

301 in HTACCESS for all Wordpress Blog URLs

Hi there We are about to transfer someone's Weebly website to Wordpress, but their Blog is badly written in the URL. Rather than just /news or /blog, it has their company title in it, and it's causing them SEO issues. Their blog goes back to 2011 - so using a tool to manually edit each one is a no-n...
by simonmlewis
Sat Oct 13, 2018 12:56 pm
Forum: General Discussion
Topic: VPN from phone based on county/state - need one
Replies: 0
Views: 61012

VPN from phone based on county/state - need one

Hi. We are trying to test website positions based on county/state.
A vpn can do countries but can it do county/state?
by simonmlewis
Thu Oct 11, 2018 9:44 am
Forum: PHP - Code
Topic: Wordpress: can this be altered based on user type for CSS?
Replies: 2
Views: 62270

Re: Wordpress: can this be altered based on user type for CS

As often happens, I found a fix myself. This CSS will work for any type of user role within Wordpress, and means you can override the CSS based on that role. I had to double check the user role wording in the database, and use "!important", to override any existing CSS. // set wholesale CS...
by simonmlewis
Thu Oct 11, 2018 9:06 am
Forum: PHP - Code
Topic: Wordpress: can this be altered based on user type for CSS?
Replies: 2
Views: 62270

Wordpress: can this be altered based on user type for CSS?

We are trying to show some CSS only when someone is a) logged in and their usertype is 'wholesaler'. This function should set the CSS for us, but for all. The idea is to switch off a 'rotating' price area, and just show the price and wholesale price to wholesaler users. with it turned on, there is a...
by simonmlewis
Sat Sep 15, 2018 2:49 pm
Forum: General Discussion
Topic: SEO Blogging Wordpress Question
Replies: 2
Views: 79614

SEO Blogging Wordpress Question

We have a blog with Wordpress where the url is domain.com/blog/blog-title. I am wondering if it should be domain.com/blog/blog-category/blog-title. Is the latter better for SEO as it gets keywords into the Blog, or is a shorter URL better without the Category (like more Product pages tend to be)? Ju...
by simonmlewis
Mon Sep 10, 2018 4:33 pm
Forum: HTML, CSS and other UI Design Technologies
Topic: Can CSS hide the second entry of same class?
Replies: 1
Views: 14183

Can CSS hide the second entry of same class?

We have a bit of an issue with a Wordpress Plugin, whereby on variable products it seems to add two DIVs with the same class IDs twice. So it adds it before the In Stock, and again after the In Stock. If you select the checkboxes within the DIVs and submit, the additional products within them do pos...
by simonmlewis
Thu Jul 19, 2018 11:09 am
Forum: General Discussion
Topic: General SEO homepage query
Replies: 5
Views: 21806

Re: General SEO homepage query

I know where it appears.
I'm just saying that if there are alt tags on the homepage, that are related to content on inner pages that need to rank for those keywords - should the homepage have those "inner keywords" in it's alt tags ??