timholz
Forum Replies Created
-
Hi
Thanks for sharing.
regards
theoForum: Fixing WordPress
In reply to: wordpress auto p functionI forgot to mark this topic as closed.
Forum: Fixing WordPress
In reply to: wordpress auto p functionHi
I found the solution in the german part of the forum.
I added p tags to my shortcode.regards
theoForum: Fixing WordPress
In reply to: wordpress auto p functionI did not enter any <p> tags at all. It is wordpress that does that automatically. There is not a single <p> Tag in the text editor.
Forum: Fixing WordPress
In reply to: wordpress auto p functionHi
Thanks for your response.
Here is the page: ratsblog.ch/weiterbildung
When you check this link with the w3c validator, you get three times:
?No p element in scope but a p end tag seen.?Inspecting the Dom the tags look like:
<p></p>
The validator obviously cannot read this correctly.
I do not know whether this mistake is neglectable, but i would like to know why it occurs and if there is a way to fix it.Regards
theoHi
I guess it was google who did some changes during the weekend.
Everything works fine again.
regards
theoForum: Plugins
In reply to: [WooCommerce] Breadcrumb words in Search-Resultsof course i meant, that you could try to contact the theme support…
Forum: Plugins
In reply to: [WooCommerce] Breadcrumb words in Search-ResultsSorry, i made a mistake.
Forget about the previous message.
My filter only works with woothemes and woocommerce.
You will have to search your parent theme and find the place where the breadcrumbs are generated and then use that naming convention to filter words.In case you have support for your theme, i could try to contact them for help.
regards
theoForum: Plugins
In reply to: [WooCommerce] Breadcrumb words in Search-ResultsBoth links look identical to begin with.
Are you copying the whole parent functions.php into your child-theme folder?
Apparently there is some confusion.
So let’s make a test.
Make a backup copy of the child-theme’s functions.php and name it for instance ?functions_backup.php?
Create a new functions.php and put it in your child-themes folder.
In this new functions.php you write:<?php echo 'test'; ?>
Reload the page.
You should now see the word test printed on the screen.
It that works, then you know, that functions.php in your child-theme folder is active.
And in case that is true, you can start filling functions.php with your own hooks, filters and functions.If that is not the case, then something is definitely wrong and you should probably contact the support of your parent theme.
Good luck
regardsForum: Plugins
In reply to: [WooCommerce] Breadcrumb words in Search-ResultsHi
It appears that you have two child-theme folders.
Which one is the active?
My directory is:
wp-content/themes/parent-theme and child-theme
So both the parent and the child are on the same level and
in both there should be a functions.php. Well at least i assume that you parent-theme has one.
So, you should place your custom functions.php in the child-theme folder.This should work, for the functions.php in your child-theme folder is considered first, then the routine continues with the parent theme functions.php.
I hope that this helps.
regards
theoForum: Plugins
In reply to: [WooCommerce] Breadcrumb words in Search-ResultsHi
I wrote this filter and added to my_child>functions.php:
/*Translation filter for ?Search results for? and ?404 Not Found? in ?admin-functions.php? (mystile, wootheme) */ function replace_search_notfound($trail) { $trail = str_replace ( "Search results for" , "Your translation" , $trail ); $trail = str_replace ( "404 Not Found" , "404 Your translation" , $trail ); return $trail; } add_filter( 'woo_breadcrumbs' , 'replace_search_notfound',10);
Seems to work.
regards
theoForum: Plugins
In reply to: [WooCommerce] Breadcrumb words in Search-ResultsHi
I found the file.
It’s in the admin-functions.php on line 2811.On line 2534 this file it says:
* Allow filtering of only the $args using get_the_breadcrumb_args.How can i write this filter?
I have very little knowledge about this subject.Your help is appreciated.
Thank you.
regards
theoForum: Plugins
In reply to: [WooCommerce] 403 Error [email protected]Hi Jron
thanks for the infogood luck
theoForum: Plugins
In reply to: [WooCommerce] 403 Error [email protected]Ok Jeroen
I found the cause.
In my case, the site is a subdomain (for presentation purposes).
The main domain also had the additional firewall rules activated and that is why the subdomain inherited this protection and hence caused the 403 error.
So, concluding from this, it is really the additional firewall rules that are responsible for the error.
I hope you can fix it on your site.regards
theoForum: Plugins
In reply to: [WooCommerce] 403 Error [email protected]Hi Jeroen
You are right the error is back.
I developped the site localhost and could solve the problem by disabling all additional firewall rules(second Tab).
But now, since the site is online, and having read your response, i checked again and the 403 error is back.
This is really strange.
I will have to continue searching the cause of this error.regards
theo