How to Place WordPress Widgets Only on Certain Pages

By default, WordPress shows the same sidebar widgets on every page. If you need to hide widgets on certain pages, categories, post types, etc, you can use conditional tags.

In order to add conditional tags quickly and easily, you can use the Widget Logic plugin. Download it here: Widget Logic

This plugin adds an input field to every widget, where you can add the conditional tags.

In the example in the screenshot above, the Tag widget will only show on the post with ID 17.

If instead you would like to show the widget on all pages except the post with ID 17, you can put an ‘!’ at the start like this:

!is_single( '17' )

A list of all available conditional tags can be found on the WordPress codex site here.

How to add or remove a www subdomain for Prestashop

Prestashop change url settingsLog into your admin interface, click on the Preferences tab, and on the SEO & URLs link one row below.

Scroll down to the area called URLs Setup, and look for the Shop domain name input field.

Here you can change the url to either use www (example: www.mydomain.com) or not (example:mydomain.com)

Now save your settings.

In order to make this work you need to let the server know about the change by updating the .htaccess file. This is done conveniently from within the Prestashop admin interface.

Prestashop generate .htaccess fileGo to the Tools tab and click on the Generators link one row below.

Then click the Generate .htaccess file button (If you can’t generate the .htaccess file from here, you will most likely be asked to change the write permissions for the file. You can do so for example via FTP).

Done.

Now you can go back to your shopfront and see if the changes took place.

W3C Validation

kleinermann web design validates all it’s clients’ websites with the W3C Validator to make sure the websites run well on different browser types.

Please check your website here: https://validator.w3.org/

Errors
The most common error declared by the W3C Validator is know as a “Syntax Error”. HTML and XHTML are languages used within the coding of the website and W3C produce an approved list of commands (words that are used in the language). If a website developer has used a non-approved command (word) then a Syntax Error is produced. The website may still appear to work and display properly but it does not achieve the levels of accessibility required by the W3C.

Warnings
Unlike errors, warnings are produced when the W3C validator is unable to make sense of the coding the developer has used in the website. It is sometimes the case that the commands used are so different from the list of approved HTML and XHTML commands that the W3C are unable to give the developer advice on how to correct the problem. Even more seriously, this could mean that the website has the potential to crash or not function properly.

Contact us if you have any questions regarding the results. We would love to give you some free advise.

x


Angebot anfordern

Ich melde mich innerhalb von 24 Stunden zurück.