chrishe
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Twenty Twenty-Four] Child theme usageHI @jordesign,
But what happens if I have modified the 2024 templates and then the theme is updated? does it restore the 2024 template or keep the mods?
Thanks
Further, since the above locations DO appear when creating an event, they may actually be used. In which case would need to ADD a new valid post with post_type = location to replace the missing post
Hmmm…
P.S. it appears the locations were all created appox. 10 years ago when the _original_ site was created. The site was since moved so the post guids all point to a non-existing address!Help please!
note:
for my (single) site this query pulls out the location records that point to a non-existent wp_posts record
SELECT wp_posts.ID, wp_em_locations.* FROM wp_em_locations LEFT JOIN wp_posts ON ID=post_id WHERE ID IS NULL
and finds 60 matching recordsI don’t know whether deleting those em_locations records has any wider implications, but if it was possible to add similar to dashboard to clean them up that would be great!
@angelo_nwl Thanks Angelo, I am sure that will help many people. I feel it would still be helpful to put the change into core!
Hi
A suggestion – the error is not with this plugin but with your theme and your css. You have multiple css files loading that appear to be the same or nearly so.( Note: I have no relationship with this or any other plugin, I am just a WordPress developer who came across your post whilst looking at this plugin for my own use)
As an example, in your theme wyzi-business-finder/css look at the css files, find and comment out the line 523 width: 50%. Your TOS will then display at 100% , although not at 50% as your other css conflicts, but it will look a lot better.
I also not from a quick look at your site that the page is making over 200 requests to the server, and the site is loading 46 different css files – maybe not surprising there are some conflicts then!
I kindly suggest you talk to your website designer, or find an alternative provider!
Best Regards
ChrisThanks Patrick!
OK, I can understand you are puzzled! Our site enables sailors to attend racing events. Two people are required to sail in each boat.
So some sailors may be keen to enter the race, but they need a crew for their boat, Other sailors may be looking for a boat to sail in. The “other Site” I mentioned is a crew/helm finder.
So basically it is part of a service we offer to our members, to help match up helms and crews so they can enter our racing events! The is more important than keeping them strapped into our site for Google analytics!
Thanks for your code, that is very helpful.Thanks for your reply – the underscores were only for the post above, agreed dashes for urls.
I think I described why I want to do this above! I want to “automatically” show a link to another site against each event in the event list.
I know the other site “root part” of the url to go to. I also know that the final part will match the %postname% (i.e. last part of the url)Combining these two parts will enable the links to be formed without the author having to remember to set a custom attribute for each event. I hope that now makes sense!
ThanksHi, thanks for your reply.
But not quite what I want – I believe that #_EVENTURL give the WHOLE url, whereas I just want the %postname%
E.G. for an event with title “My Event”
#_EVENTURL = ‘https://mysite/events/my_event’,
%postname% = ‘my_event’
Then I can build a link to associated website “https://other_site/blah/my_event”
Hope that is clear!
Thanks@selabie68
Hi, well that was the way I changed it to begin with – further testing showed that this gives different display to the woocommerce format in the product prices at the bottom
(e.g. (-$30.00) in option, but £-30.00 in the product option price, so I changed it to the version I posted above, (removing the negative bit). But it is your choice!
ChrisHi, I am sure NMedia can fix it, but if you have access to the plugin code, it’s a one-line change to plugin file /inc/functions.php:
find line
$formatted_price = ( $negative ? '-' : '' ) . sprintf( $price_format, get_woocommerce_currency_symbol(), $wc_price );
in function ppom_price($price) at about line 1140
and remove the extra negative bit to give:
$formatted_price = sprintf( $price_format, get_woocommerce_currency_symbol(), $wc_price );
This will keep it in line with the WooCommerce price settings.
Hope that helps.
ChrisThanks for reply!
Should I delete old PPOM PRO before doing updates? and
What versions of woocommerce are compatible with latest PPOM?Forum: Themes and Templates
In reply to: [Di Blog] Problem making child themeGood job! Thanks ??
Using the free version, 2.2.33, Running php 5.6.x
Same problem as above Admin Gallery menu completely gone
Now although Galleries work on front end, no admin “Gallery” menu at all and no option in the editor – in WYSYWYG move it shows the shortcode, same as in “Text” mode.
(Not able to deactivate all other plugins at present)Although NextGEN does NOT show in Active Plugin list, it DOES show in “All” plugins. If select “opt-in” get error message “Sorry, you are not allowed to access this page.” Then the admin Gallery menu is gone!. Finding the plugin, deactivate/activate restores the admin menu and the “Add Gallery” button in the Editor
It looks like either accessing/changing the Gallery/Other options page is killing it (once menu gone I DID find the plugin and click the “opt-in” option as noted above.)- This reply was modified 6 years, 10 months ago by chrishe.
Yes, I understand 3.1 very old version, but I expected when 8.1 installed it would add the correct new fields (obviously unpopulated). Thus after installing v8.1, exporting as csv and then importing back again should work I would have thought, but it doesn’t, as 10 field headers are exported but only 8 values for each record.
RegardsForum: Plugins
In reply to: [Quick Cache (Speed Without Compromise)] Unable to obtin exclusive lockP.S. to above,
Using latest Version 141205 with php 5.4.
Have tried removing other plugins, but error persists.
Also cannot delete any media files, get same exception error thrown.