mohammad2232
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7] change recaptcha languageis there any solution
https://ww.wp.xz.cn/support/topic/rtl-language-8/Forum: Themes and Templates
In reply to: [Storefront] storefront v 2.2.6 big scrol problemthanks for your time
Forum: Themes and Templates
In reply to: [Storefront] storefront v 2.2.6 big scrol problemthanks
this is from instagram app
https://pasteboard.co/H4K5StM.png
and this is from iphone 4s safari
https://pasteboard.co/H4K5mUs.pngForum: Developing with WordPress
In reply to: dropdown with inner search boxand i added this
add_action( 'wp_enqueue_scripts', 'dropFunction' ); // Dropdown function dropFunction() { var x = document.getElementById(“myDIV”); if (x.className.indexOf(“w3-show”) == -1) { x.className += ” w3-show”; } else { x.className = x.className.replace(” w3-show”, “”); } } add_action( 'wp_enqueue_scripts', 'filterFunction' ); // Filter function filterFunction() { var input, filter, ul, li, a, i; input = document.getElementById(“myInput”); filter = input.value.toUpperCase(); div = document.getElementById(“myDIV”); a = div.getElementsByTagName(“a”); for (i = 0; i < a.length; i++) { if (a[i].innerHTML.toUpperCase().indexOf(filter) > -1) { a[i].style.display = “”; } else { a[i].style.display = “none”; } } }in my child theme functions.php but after this my site show white page and in editor in show syntax error
how can i solve this?
thanksForum: Developing with WordPress
In reply to: dropdown with inner search boxi used this code in my functions.php file
<?php add_action( 'wp_enqueue_scripts', 'enqueue_parent_styles' ); function enqueue_parent_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' ); wp_enqueue_style( 'parent-style', get_template_directory_uri().'/rtl.css' ); wp_enqueue_style( 'parent-style', get_template_directory_uri().'/css/editor-style.css' ); wp_enqueue_style( 'parent-style', get_template_directory_uri().'/css/ie.css' ); wp_enqueue_style( 'parent-style', get_template_directory_uri().'/css/ie7.css' ); } ?>Forum: Developing with WordPress
In reply to: dropdown with inner search boxthanks so much
i just create child theme for twentyfifteen
but my custom settings for color and menu location (right or left) not come into my child theme
what is wrong?Forum: Developing with WordPress
In reply to: dropdown with inner search boxthanks so much for your time
i don’t have any knowlage of php , havascript ,….
but i try to learn with example , if i can understand this properly i do this :
add `// Dropdown
function dropFunction() {
var x = document.getElementById(“myDIV”);
if (x.className.indexOf(“w3-show”) == -1) {
x.className += ” w3-show”;
} else {
x.className = x.className.replace(” w3-show”, “”);
}
}// Filter
function filterFunction() {
var input, filter, ul, li, a, i;
input = document.getElementById(“myInput”);
filter = input.value.toUpperCase();
div = document.getElementById(“myDIV”);
a = div.getElementsByTagName(“a”);
for (i = 0; i < a.length; i++) {
if (a[i].innerHTML.toUpperCase().indexOf(filter) > -1) {
a[i].style.display = “”;
} else {
a[i].style.display = “none”;
}
}
}`
in /js/functions.js
and then add :<?php wp_enqueue_script( 'dropFunction', get_template_directory_uri() . '/js/functions.js', true); ?> <?php wp_enqueue_script( 'filterFunction', get_template_directory_uri() . '/js/functions.js', true); ?>in header.php (i tested before html then in head both of not work)
then add to footer.php and not work too
then test<?php wp_enqueue_script( 'dropFunction', get_template_directory_uri() . '/js/functions.js'); ?> <?php wp_enqueue_script( 'filterFunction', get_template_directory_uri() . '/js/functions.js'); ?>in both header.php and footer.php
and again not work!
can you help me how can i solve this problem ?
thanksForum: Plugins
In reply to: [Contact Form 7] change recaptcha languagethanks
but my website is persian (admin and user both of them) but contact form 7 is not persian and still english!
i tried to add script code for add fa to recaptcha.php but not work!<script type="text/javascript"> var RecaptchaOptions = { lang : 'fr' }; </script>can you help me please
thanks