James Veale
Forum Replies Created
-
AuthorPosts
-
The code works like a charm. I’m using the snippets plugin so I can just activate and deactivate from there….
However… I’m still getting an error message about the csv not being valid. This is simply exporting the csv, then a minute later trying to reimport it without even opening it.
This reply has been marked as private.🙁
or I use “check” but then it will yield no results if people are stupid enough to click both yes and no options…hmmm
That is an option. But I sacrifice the title, unless I use a field seperator… which I’m already using them to separate sections.
I suppose one fix would be to use the field separators, then tweak the css… not an instant fix though
This reply has been marked as private.Ah, your right! Thanks!
hmm… I made a request, but it hasn’t come up on the list. Maybe its still waiting approval?
Genius! I think that’s it!
I have “Lakes” and “rivers” … Its great having both on the same map… (having individual CPTs would also be an easy way to separate data, but sometimes there are rivers and lakes on the same fishing venue). It doesn’t make sense having the question “What is the lake size?” on the add listing for rivers… but I can live with that…
What really doesn’t make sense is looking at a river such as this and clicking the ‘more info’ tab and seeing stuff about lake size… its a river, plus… pretty difficult to know the size anyway.. so it would be better just to hide that info for rivers. Equally there is info about rivers that we still have to add, but that info doesn’t apply to lakes.
Sorry if that’s super confusing! It does sound it as I’m typing it!
I’m also trying to do something similar…
On my detail pages I use awesome weather widget to display weather info at each listing… Which works only if the location matches the one in the detail page address…
In my case ideally the location/breadcrumbs/location switcher would reset back to everywhere(or somewhere else if selected) when a user clicks the map/listings page/other breadcrumb/other search near option.
Useful to know, so I could potentially edit out info on a case by case basis when new pages get added…
But there’s no way to do it for an entire category by the sound of it.
Can you guys think of another way to keep everything as one cpt but display only specific fields (or hide specific fields if it’s a different category)?
I suppose I’m basing it on this sort of idea with pages:
<?php // Do action only on specific page in WP ?> <?php if( in_page('johns lake') ) { ?> <style> #river_info{ display: none; } </style> <?php } ?>
Not sure if it would be possible to do the same with categories though
December 8, 2016 at 11:53 pm in reply to: All listings say Owner Verfied, none have been verified #321697Hi,
Just realised that is the case. (I forgot to log in as another user) That’s great!
Many thanks again!
-
AuthorPosts