12 Step Meeting List – WordPress plugin

Deal Score0
Deal Score0

My meeting type isn’t listed!

If it’s a broadly-applicable meeting type, please ask us in the support forum. We must maintain consistency for the mobile apps, so not all proposals are accepted.

If you have access to your theme’s functions.php, you may add additional meeting types or rename existing ones. Simply adapt the following example to your purposes:

if (function_exists('tsml_custom_types')) {
        'XYZ' => 'My Custom Type',

Please note a few things about custom types:

  1. Once you’ve added the type, you will see it under ‘More’ on the Meeting edit screen. It will show up in the dropdown once you use it on a meeting.
  2. Be careful with the codes (“XYZ” in the above example) as this gives you the ability to replace existing types.
  3. Note that custom meeting types are not imported into the Meeting Guide app.
  4. They are for searching. If you can’t imagine yourself searching for a meeting this way, then it’s probably not a type you need. Have you ever searched for a 90-minute meeting? If not, then it’s probably information that better belongs in the meeting notes.
  5. Don’t add a type for the default, eg ‘Hour Long Meeting’ or ‘Non-Smoking.’ If you do that, then you have to be careful about tagging every single meeting in order to make the data complete.
Where are my meetings listed?

It depends on your Permalinks setup. The easiest way to find the link is to go to the Dashboard > Meetings > Import & Settings page and look for it under “Where’s My Info?”

I need to correct a meeting address or change a pin’s location

We get our geocoding positions from Google (this true even if your maps are by Mapbox). Google is correct an amazing amount of the time, but not always. If you need to add a custom location, add this to your theme’s functions.php.

Note you can add multiple entries to the array below.

if (function_exists('tsml_custom_types')) {
        '5 Avenue Anatole France, 75007 Paris, France' => array(
            'formatted_address' => '5 Avenue Anatole France, 75007 Paris, France',
            'city' => 'Paris',
            'latitude' => 48.858372,
            'longitude' => 2.294481,
How can I make the Region dropdown not be collapsible?

No problem, just add this CSS to your theme:

div#tsml #meetings .controls ul.dropdown-menu div.expand { display: none; }
div#tsml #meetings .controls ul.dropdown-menu ul.children { height: auto; }
How can I show Any Day by default?

The easiest way is to link to that view straight from your navigation. Usually that looks like /meetings/?tsml-day=any, but it can vary depending on your settings.

If you’d prefer to keep the default address, you could add this code to your theme’s functions.php instead:

$tsml_defaults['day'] = null;
How do I change the default search radius for location searches?

Add this to your theme’s functions.php. The value should be an existing value, ie 1, 5, 10, 25 or 50.

$tsml_defaults['distance'] = 25;
Can I get the meeting list to display the full address, including city, state and country?

Add this to your theme’s functions.php.

$tsml_street_only = false;
Can I change the order of the columns on the meeting list page, eg put the Region first?

Add this to your theme’s functions.php. Feel free to change the order or column names (eg ‘Region’) but keep the keys the same (eg ‘region’).

$tsml_columns = array(
    'region' => 'Region',
    'time' => 'Time',
    'distance' => 'Distance',
    'name' => 'Name',
    'location' => 'Location',
    'address' => 'Address',
    'types' => 'Types'
Can I change the default sort order on the meeting list page?

By default, the plugin sorts by day, then time, then location name. To set your own sort index, add this to your functions.php:

$tsml_sort_by = 'region'; //options are name, location, address, time, or region
How can I override the meeting list or detail pages?

Copy the files from the plugin’s templates directory into your theme’s root directory. If you’re using a theme from the Theme Directory, you may be better off creating a Child Theme. Now, you may override those pages. The archive-meetings.php file controls the meeting list page, single-meetings.php controls the meetings detail, and single-locations.php controls the location detail.

Please note these pages will evolve over time. If you override, you will someday experience website errors after an update. If that happens, please update your theme’s copy of the plugin pages.

Can I see types in the meeting list? And can I adjust the /Men and /Women after the meeting name?

To see types in the meeting list, one way to do it is to add some CSS to your theme which will make a types column visible.

@media screen and (min-width: 768px) {
    div#tsml #meetings .types { display: table-cell !important; }

One drawback of this approach is that it shows all the meeting types, and you might not want all of them to be displayed over and over in the meeting list.

Another approach is to adjust which meeting types are “flagged” in the meeting names, by default for most programs this is /Men and /Women. To adjust this, find the meeting type code for each type you want to show and include it in your theme’s functions.php like this:

if (function_exists('tsml_custom_flags')) {
    tsml_custom_flags(array('M', 'W', 'O', 'C'));

The code above will add “Open” and “Closed” flags to the meeting name.

When there are notes on a meeting, can I indicate that somehow in the meeting list?

Yes, with CSS. Rows that have meeting notes will have a ‘notes’ class. To add an asterisk, for example, try this:

div#tsml tr.notes a:after { content: "*"; }
Can I import a custom spreadsheet format?

If you don’t mind some PHP programming, then yes! Create a function called tsml_import_reformat, and use it to
reformat your incoming data to the standard format

if (!function_exists('tsml_import_reformat')) {
    function tsml_import_reformat($meetings) {
        //your code goes here
        return $meetings;
How can I change some of the text on the template pages, eg the column headings?

You can make use of the gettext filter to override the plugin’s translation strings. For example, if you wanted to replace ‘Region’ with ‘City,’ you could add the following to your functions.php file.

function theme_override_tsml_strings($translated_text, $text, $domain) {
    if ($domain == '12-step-meeting-list') {
        switch ($translated_text) {
            case 'Region':
                return 'City';
    return $translated_text;
add_filter('gettext', 'theme_override_tsml_strings', 20, 3);
How can I temporarily hide a meeting without deleting it?

Save it as a draft by editing the meeting’s Status.

Are there shortcodes?

Yes, you can use [tsml_meeting_count], [tsml_location_count], [tsml_group_count], and [tsml_region_count] to display human-formatted counts of your entities. For example, “Our area currently comprises [tsml_meeting_count] meetings.” Also [tsml_next_meetings count="5"] displays a small table with the next several meetings in it. Use the count parameter to adjust how many are displayed. This will be unstyled if you’re not using bootstrap in your theme.

Additionally, you can use [tsml_types_list] and [tsml_regions_list] to output linked lists to your meeting finder.

Are there translations to other languages?

It is translated into Polish. If you would like to volunteer to help translate another language, we would be pleased to work with you.

I entered contact information into the meeting edit page but don’t see it displayed on the site.

That’s right, we don’t display that information by default for the sake of anonymity. To display it in your theme, go to Import & Settings and set the Meeting/Group Contacts dropdown to “public.”

Can I run this as my main website homepage?

Sure. Try adding this code to your theme’s functions.php:

add_action('pre_get_posts', 'tsml_front_page');

Also check out our One Page Meeting List theme.

Can I use this plugin to list telephone meetings or other meetings without a fixed location?

No, there’s not a good way to do this at this time. All meetings currently need to have a geographic location.

Some sites have used a general geographic area, such as a city name, but this isn’t a very good solution, because a map
pin will still show up for these meetings and people will try to get directions to them.

Can I change the URL of the meetings list?

Yes, try setting the $tsml_slug variable in your functions.php.

$tsml_slug = 'schedule';

To apply these changes, you must go to Settings > Permalinks and click “Save Changes”

Source link

We will be happy to hear your thoughts

      Leave a reply

      Wordpress Tutorials, Tips, Themes and Plugins.
      Register New Account
      Reset Password