Mardovar
Forum Replies Created
-
Forum: Alpha/Beta/RC
In reply to: Updating failed. The response is not a validGood news, I just updated automatically to the release version and everything seems to be working OK.,
Forum: Alpha/Beta/RC
In reply to: Updating failed. The response is not a validI saved my wp_config.php file, erased my WordPress directory and dropped the database. I created a blank database as before, downloaded and unpacked 6.4.3. Restored the wp_config.php. Started it up and the problem didn’t occur, so I am moving forward with 6.4.3 and I am concerned about the pending release. No security tools or firewall other than what comes standard with UBUNTU.
PHP version8.1.2-1ubuntu2.14 (Supports 64bit values)
Forum: Plugins
In reply to: [WooCommerce Bulk Discount] Possible error in fixed bulk discountI hit this bug today. Have a product with variations. I want to give a 5 discount per item if 3 or more are ordered. If 3 of one variation is ordered, the price is correct. If 3 different variations are ordered, the price shows as 5 less, but the total for each item line is 15 lower and the total is 45 lower instead of 15 lower. Sorry, but given the response I see to problems, I guess I need to move on.
There is also a problem with this theme on an iPad. The top and bottom banners do not go all the way to the right side of the screen for some reason. This problem does not occur on a PC with the windows sized to the same size as an iPad screen.
This issue wasn’t addressed in the update to version 1.7
Forum: Fixing WordPress
In reply to: is_page_template giving wrong answer on sitethe code is_front_page()) does work for this case and I have put that patch on my site. Since the theme page could be used for a page other than the front page, it isn’t a perfect fix, but it will do for us for now. Could something be broken in version 4.4.1 that has already been fixed? I reviewed the update log and nothing popped out that looked like someone fixing this.
Forum: Fixing WordPress
In reply to: is_page_template giving wrong answer on siteThanks for the thought, but the debug printout shows that it is not in a subfolder, site-prefix/wp-content/themes/wp-newjerusalem/page-home.php
Forum: Fixing WordPress
In reply to: is_page_template giving wrong answer on siteI may do that to fix my site, but I was trying to understand why this code works in other locations but not my site. The author of the theme is saying the problem is not her fault. If I did something wrong, I’d like to know what it was. The site is a fresh install using the DreamHost 1 click installer and then the theme was added. I was hoping to avoid having to mod the theme.
Forum: Fixing WordPress
In reply to: is_page_template giving wrong answer on siteI think spelling correction changed the line of code in the previous comment that starts “attraction”. It should say
add_action( 'wp_enqueue_scripts', 'virtuti_scripts_method' );
Forum: Fixing WordPress
In reply to: is_page_template giving wrong answer on siteThe code is in functions.php. It is in function virtuti_scripts_method which is run by
attraction( ‘wp_enqueue_scripts’, ‘virtuti_scripts_method’ );
The functions.php was supplied as part of the New Jerusalem theme from themeforest.net. The function I modified is used to wp_enqueue_script the various scripts used by this theme. Two of the scripts are used only on the home page and the theme uses the test if(is_page_template( ‘page-home.php’ )) to limit these to the home page. This is not working on my web site, but the theme author has multiple examples of the code working elsewhere. She says she has tested with 4.2 and 4.4.2 while I am running 4.4.1.
Forum: Fixing WordPress
In reply to: is_page_template giving wrong answer on siteI installed the plug-in and saw what I expected.
Template: page-home.php
is_front_page()
is_page()
is_singular().All as expected and does not explain why
is_page_template( ‘page-home.php’ ))
returned false in this case.Forum: Plugins
In reply to: [Mortgage Calculator / Loan Calculator] WP_DEBUG Notice ErrorI am seeing the same error with this plugin.