controlb
Forum Replies Created
-
Forum: Plugins
In reply to: [Social Media Share Buttons & Social Sharing Icons] Icons not appearingPerfect, thanks!
Forum: Plugins
In reply to: [Post My CF7 Form] Delete CPT Created By the PluginI don’t know if this is what you mean but I’ve just found this out:
If you create a new contact form called e.g. “NewContactForm”, it will create a new CPT called “NewContactForm” in the WP Dashboard menu. Every new post you create using this form will be filed with the “NewContactForm” posts.
Even if you delete all the posts in “NewContactForm”, the CPT will remain visible in the menu.
However, if you go to Contact -> Contact Forms and delete the form “NewContactForm”, the CPT is deleted from the dashboard menu. Hope this helps.
Forum: Plugins
In reply to: [Leaflet Map] KML import not workingCan I make insert the multi geometry polygon shapes using Leaflet Map shortcode instead of importing the KML?
e.g. something like
[leaflet-map polygon-fill=”#00CC9966″ polygon-shape=”-0.334018,51.55671 -0.334456,51.556808 -0.335615,51.557121 -0.336091,51.557232 -0.336437,51.557299 -0.336785,51.557358 -0.337112,51.557406 -0.33728,51.557427 -0.338252,51.557488 -0.339527,51.557546 -0.339877, -0.333999,51.556767 -0.334018,51.55671 ***and so on…***”]<h1 class=”title”>{first_title}</h1><h1 class=”title”>{second_title}</h1>[/leaflet-map]Forum: Plugins
In reply to: [Leaflet Map] KML import not workingThat would work with one shape, but this KML has over a dozen different shapes like this:
<Placemark> <name>Ealing</name> <styleUrl>#blue_shape</styleUrl> <description><a href="https://www.londonspovertyprofile.org.uk/indicators/boroughs/ealing/">Read indicators for this borough</a></description> <ExtendedData><SchemaData schemaUrl="#london_boroughs_boroughs_kml"> <SimpleData name="cartodb_id">9</SimpleData> </SchemaData></ExtendedData> <MultiGeometry><Polygon><outerBoundaryIs><LinearRing><coordinates>-0.334018,51.55671 -0.334456,51.556808 -0.335615,51.557121 -0.336091,51.557232 -0.336437,51.557299 -0.336785,51.557358 -0.337112,51.557406 -0.33728,51.557427 -0.338252,51.557488 -0.339527,51.557546 -0.339877, -0.333999,51.556767 -0.334018,51.55671 ***... and hundreds of other co-ordinates like those *** </coordinates></LinearRing></outerBoundaryIs></Polygon></MultiGeometry> </Placemark>
I don’t want to have to create a new KML for each shape. Can the co-ordinates be put directly into Leaflet Map via shortcode?
Forum: Plugins
In reply to: [Leaflet Map] KML import not working(I posted the wrong shortcode above, apologies!)
Thanks, I tried that before but it wasn’t working – I replaced ../ with / and now the KML outlines show up.
The <title> and <description> popups in the KML aren’t showing on clicking the polygons, please let me know if there’s a way to get them. Or is there a way to put the multigeometry shapes and popups straight into Leaflet Map without needing to use the KML file?
Thanks Jordan, but that may not work given that the events-recurring posts are not valid posts to begin with, and these are all links that apparently need to be automatically excluded.
The ‘events-recurring’ link appears in search results using the EM search shortcode widget.
(I assumed that it would show the event with the start and end dates/times and possibly the type of recurrence.)
Given that they shouldn’t appear, how can these ‘events-recurring’ links be removed from search results/activity lists etc.?
Is that something that could be inserted via the templates or would it involve editing em_object?
Can you use the ‘scope’ variable in the query string and put start and end dates in there somehow?
Forum: Plugins
In reply to: [Timely All-in-One Events Calendar] Add calendar to sidebarIt was the standard shortcode as listed on the Time.ly website. However, as only one calendar could appear on the page at a time – which I only noticed this morning – I’ve gone back to using EM.
So this is one way of doing it:
https://wp-events-plugin.com/documentation/shortcodes/ – see calendar shortcodes at bottomFrom this I found that [events_calendar full=1] gives you a calendar for the present month with the event titles with prev/next arrow links, which I put in a test page. These links have URLs with the required data such that
https://[domain]/test-month/?category=1,2,3&mo=10&yr=2017
gives you a calendar for October 2017 for the category IDs 1, 2 and 3.
Please could you let me know:
- Add category references to this in order to change the link colours (e.g.
for all/more than one category - If it is possible to use similar query strings for the category page (i.e.
to restrict category events shown by month)
I want to be able to provide a link to a single category page which will list all the events in the chosen category for a given month.
- This reply was modified 7 years, 3 months ago by controlb.
Further to this: can a monthly view be accessed via URL?
e.g. something using a GET query string in the URL:
myevents.com/category/concerts?m=2017-09or something similar?
That’s fine, I’ll create a form element with two dropdowns and GET submission, one with child/sibling categories, and one with the coming months, and the submit button to call a page listing all events that fit the query.
e.g. events.com/category/jazz?month=December
From a category page, please could you tell me what array/object/class the child/sibling categories could be found in, and what the format of the URL should be.
Forum: Plugins
In reply to: [Download Monitor] Treating uploads as if they were postsHi Harish, thanks for the response.
Can it be set so that, when someone clicks the name on the list, it automatically downloads the file instead of taking the user to another page with a download link on it? That’s what we’re after.
- Add category references to this in order to change the link colours (e.g.