monaabdelkader
Forum Replies Created
-
@zilliq
I don’t have auto optimize plugin installed for my websiteThis is a link for the screenshot of my console
https://drive.google.com/file/d/1fKS0Mb8Mtj0tXXo-0humXYjew5Jc_733/view?usp=sharing
Thanks for advance
Hi,
I don’t have any caching plugins and I deactivated all other plugins one by one to check if there is a conflict between any of them and the Ultimate member plugin, but the problem still exists??
Thanks in advance
Finally the problem is solved, check pisacode code in the following link:
https://gist.github.com/champsupertramp/c1f6d83406e9e0425e9e98aaa36fed7d
Regards.
unfortunately, my website is published and it’s not easy to make this conflict test, but I want to ask if this issue is caused by theme/plugin conflicts, how it can be solved in this case?
Thanks in advance
Hi,
The link you’ve sent is not working, I’ve added the custom fields in the account page as described here
https://gist.github.com/champsupertramp/c1f6d83406e9e0425e9e98aaa36fed7dbut the problem now is I can’t change the values in these fields; i.e. the old values of these new added custom fields (values stored from registration process) can’t be updated.
Please help me to solve this problem.
Thanks in advance
- This reply was modified 7 years, 3 months ago by monaabdelkader.
Forum: Plugins
In reply to: [Contact Form 7] Issue with date on SafariI have the same issue, before selecting the date, (mm/dd/yyyy) doesn’t appear in the date box, but when I select the date, it appears normally
- This reply was modified 7 years, 3 months ago by monaabdelkader.
Forum: Plugins
In reply to: [Contact Form 7] How to make Min Date variable??Thanks a lot ??
Forum: Plugins
In reply to: [Contact Form 7] Set default values for logged in usersThanks a lot, it’s working now ??
Please I’ve another question, is it available to make drop down list choices change depending on another field value??
Thanks in advance
Forum: Plugins
In reply to: [CF7 Google Sheets Connector] Save uploaded files in folder on google driveHi @westerndeal
if there is an attachment in the form , it appears in the google sheet as the attached file name not link, so I can’t download it.
How to display attachment link not name in the google sheet??
Thanks
Forum: Developing with WordPress
In reply to: Jquery codes stop workingThanks a lot for explaining everything in details, everything is working now perfectly, and next time I’ll take care of my quotes =D
Forum: Plugins
In reply to: [WordPress Social Login] When click on Facebook icon, nothing happens!!I changed Authentication display from “Popup” to “In Page”, and now it’s working =D
If I want to keep it Popup, what shall I do to make it work in this case?Forum: Developing with WordPress
In reply to: Jquery codes stop workinghi,
I removed all the <script></script> tags and its contents from footer.php and created my_script.js and copied these codes into it
// Smooth Scrolling Internal Anchor Links jQuery(document).ready(function ($) { $(".scroll").click(function (event) { event.preventDefault(); $('html,body').animate({scrollTop: $(this.hash).offset().top}, 1000); }); }); // Team Bio Section $(document).ready(function () { $('#photo_1').click(function () { $('#bio_1').show(); }); $('#photo_2').click(function () { $('#bio_2').show(); }); $('#photo_3').click(function () { $('#bio_3').show(); }); $('#photo_4').click(function () { $('#bio_4').show(); }); $('#photo_5').click(function () { $('#bio_5').show(); }); $('#photo_6').click(function () { $('#bio_6').show(); }); $('#photo_7').click(function () { $('#bio_7').show(); }); }); // Recommendation Page - Select City $(document).ready(function () { $('select[name="cityId"]').change(function () { if ($(this).val() === 'alexandria') { $('#city_service').html('<optgroup label="??? ??????"><option value="alex_1" class="dropdown-item" onclick="myService_alex1()">???? (1)</option><option value="alex_2" class="dropdown-item" onclick="myService_alex2()">???? (2)</option><option value="alex_3" class="dropdown-item" onclick="myService_alex3()">???? (3)</option></optgroup>'); } else if ($(this).val() === 'minya') { $('#city_service').html('<optgroup label="??? ??????"><option value="minya_1" class="dropdown-item" onclick="myService_minya1()">???? (1)</option><option value="minya_2" class="dropdown-item" onclick="myService_minya2()">???? (2)</option></optgroup><optgroup label="??? ??????"><option value="minya_3" class="dropdown-item" onclick="myService_minya3()">???? (3)</option><option value="minya_4" class="dropdown-item" onclick="myService_minya4()">???? (4)</option></optgroup>'); } }); }); // Recommendation Page - Select Service function myService_alex1() { $('#recommend_alex1').show(); $('.recommendation').not('#recommend_alex1').hide(); $('#recommendations').css('margin-bottom', '51px'); } function myService_alex2() { $('#recommend_alex2').show(); $('.recommendation').not('#recommend_alex2').hide(); $('#recommendations').css('margin-bottom', '51px'); } function myService_alex3() { $('#recommend_alex3').show(); $('.recommendation').not('#recommend_alex3').hide(); $('#recommendations').css('margin-bottom', '51px'); } function myService_minya1() { $('#recommend_minya1').show(); $('.recommendation').not('#recommend_minya1').hide(); $('#recommendations').css('margin-bottom', '51px'); } function myService_minya2() { $('#recommend_minya2').show(); $('.recommendation').not('#recommend_minya2').hide(); $('#recommendations').css('margin-bottom', '51px'); } function myService_minya3() { $('#recommend_minya3').show(); $('.recommendation').not('#recommend_minya3').hide(); $('#recommendations').css('margin-bottom', '51px'); } function myService_minya4() { $('#recommend_minya4').show(); $('.recommendation').not('#recommend_minya4').hide(); $('#recommendations').css('margin-bottom', '51px'); }
and I put this code snippet in functions.php file
<?php function wpb_adding_scripts() { wp_register_script(‘my_script’, get_template_directory_uri() . ‘/js/my_script.js’, array(‘jquery’), true); wp_enqueue_script(‘my_script’); } add_action( ‘wp_enqueue_scripts’, ‘wpb_adding_scripts’ );
Only // Smooth Scrolling Internal Anchor Links // is working and all other functions are not working, I replaced all $ with jQuery but nothing happened, could you please help me??
Forum: Developing with WordPress
In reply to: Jquery codes stop workinghi,
I removed all the <script></script> tags and its contents from footer.php and created my_script.js and copied these codes into it
// Smooth Scrolling Internal Anchor Links jQuery(document).ready(function ($) { $(".scroll").click(function (event) { event.preventDefault(); $('html,body').animate({scrollTop: $(this.hash).offset().top}, 1000); }); }); // Team Bio Section $(document).ready(function () { $('#photo_1').click(function () { $('#bio_1').show(); }); $('#photo_2').click(function () { $('#bio_2').show(); }); $('#photo_3').click(function () { $('#bio_3').show(); }); $('#photo_4').click(function () { $('#bio_4').show(); }); $('#photo_5').click(function () { $('#bio_5').show(); }); $('#photo_6').click(function () { $('#bio_6').show(); }); $('#photo_7').click(function () { $('#bio_7').show(); }); }); // Recommendation Page - Select City $(document).ready(function () { $('select[name="cityId"]').change(function () { if ($(this).val() === 'alexandria') { $('#city_service').html('<optgroup label="??? ??????"><option value="alex_1" class="dropdown-item" onclick="myService_alex1()">???? (1)</option><option value="alex_2" class="dropdown-item" onclick="myService_alex2()">???? (2)</option><option value="alex_3" class="dropdown-item" onclick="myService_alex3()">???? (3)</option></optgroup>'); } else if ($(this).val() === 'minya') { $('#city_service').html('<optgroup label="??? ??????"><option value="minya_1" class="dropdown-item" onclick="myService_minya1()">???? (1)</option><option value="minya_2" class="dropdown-item" onclick="myService_minya2()">???? (2)</option></optgroup><optgroup label="??? ??????"><option value="minya_3" class="dropdown-item" onclick="myService_minya3()">???? (3)</option><option value="minya_4" class="dropdown-item" onclick="myService_minya4()">???? (4)</option></optgroup>'); } }); }); // Recommendation Page - Select Service function myService_alex1() { $('#recommend_alex1').show(); $('.recommendation').not('#recommend_alex1').hide(); $('#recommendations').css('margin-bottom', '51px'); } function myService_alex2() { $('#recommend_alex2').show(); $('.recommendation').not('#recommend_alex2').hide(); $('#recommendations').css('margin-bottom', '51px'); } function myService_alex3() { $('#recommend_alex3').show(); $('.recommendation').not('#recommend_alex3').hide(); $('#recommendations').css('margin-bottom', '51px'); } function myService_minya1() { $('#recommend_minya1').show(); $('.recommendation').not('#recommend_minya1').hide(); $('#recommendations').css('margin-bottom', '51px'); } function myService_minya2() { $('#recommend_minya2').show(); $('.recommendation').not('#recommend_minya2').hide(); $('#recommendations').css('margin-bottom', '51px'); } function myService_minya3() { $('#recommend_minya3').show(); $('.recommendation').not('#recommend_minya3').hide(); $('#recommendations').css('margin-bottom', '51px'); } function myService_minya4() { $('#recommend_minya4').show(); $('.recommendation').not('#recommend_minya4').hide(); $('#recommendations').css('margin-bottom', '51px'); } and I put this code snippet in functions.php file
<?php
function wpb_adding_scripts() {
wp_register_script(‘my_script’, get_template_directory_uri() . ‘/js/my_script.js’, array(‘jquery’), true);
wp_enqueue_script(‘my_script’);
}
add_action( ‘wp_enqueue_scripts’, ‘wpb_adding_scripts’ ); `Only // Smooth Scrolling Internal Anchor Links // is working and all other functions are not working, I replaced all $ with jQuery but nothing happened, could you please help me??
[Moderator note: code fixed. Please wrap code in the backtick character or use the code button. In addition, for long pastes, use gist.github.com and paste a link to that here.]
- This reply was modified 7 years, 9 months ago by Steven Stern (sterndata).
- This reply was modified 7 years, 9 months ago by monaabdelkader.
- This reply was modified 7 years, 9 months ago by monaabdelkader.
Forum: Developing with WordPress
In reply to: Jquery codes stop workingI was writing the codes that stopped working between <script></script> tags directly before </body>, Is it wrong to write them in this way??
Forum: Plugins
In reply to: [WP-PostRatings] HELP!!After adding <?php wp_head(); ?> and <?php wp_footer(); ?> to header and footer php files it worked for once (I voted successfully) but it stopped working after that, I tried from other laptops but also I can’t vote, only gray stars and the one vote I did successfully appears in manage ratings but besides stars 0 votes is written
what can I do??
- This reply was modified 7 years, 10 months ago by monaabdelkader.