AK|AK
AL|AL
AR|AR
AZ|AZ
CA|CA
CO|CO
CT|CT
DC|DC
DE|DE
FL|FL
GA|GA
HI|HI
IA|IA
ID|ID
IL|IL
IN|IN
KS|KS
KY|KY
LA|LA
MA|MA
MD|MD
ME|ME
MI|MI
MN|MN
MO|MO
MS|MS
MT|MT
NC|NC
ND|ND
NE|NE
NH|NH
NJ|NJ
NM|NM
NV|NV
NY|NY
OH|OH
OK|OK
OR|OR
PA|PA
RI|RI
SC|SC
SD|SD
TN|TN
TX|TX
UT|UT
VA|VA
VT|VT
WA|WA
WI|WI
WV|WV
WY|WY
S2Member Drop down Option Configuration File: * (one option per line)
Use a pipe | delimited format: option value|option label
Afghanistan|Afghanistan
Åland Islands|Åland Islands
Albania|Albania
Algeria|Algeria
American Samoa|American Samoa
Andorra|Andorra
Angola|Angola
Anguilla|Anguilla
Antarctica|Antarctica
Antigua/Barbuda|Antigua/Barbuda
Argentina|Argentina
Armenia|Armenia
Aruba|Aruba
Austria|Austria
Australia|Australia
Azerbaijan|Azerbaijan
Bahamas|Bahamas
Bahrain|Bahrain
Bangladesh|Bangladesh
Barbados|Barbados
Belarus|Belarus
Belgium|Belgium
Belize|Belize
Benin|Benin
Bermuda|Bermuda
Bhutan|Bhutan
Bolivia|Bolivia
Bosnia/Herzegovina|Bosnia/Herzegovina
Botswana|Botswana
Bouvet Island|Bouvet Island
Brazil|Brazil
Brunei Darussalam|Brunei Darussalam
Bulgaria|Bulgaria
Burkina Faso|Burkina Faso
Burundi|Burundi
Canada|Canada
Cambodia|Cambodia
Cameroon|Cameroon
Cape Verde|Cape Verde
Cayman Islands|Cayman Islands
Central African Republic|Central African Republic
Chad|Chad
Chile|Chile
China|China
Christmas Island|Christmas Island
Cocos (Keeling) Islands|Cocos (Keeling) Islands
Colombia|Colombia
Comoros|Comoros
Congo|Congo
Cook Islands|Cook Islands
Costa Rica|Costa Rica
Côte D’Ivoire|Côte D’Ivoire
Croatia|Croatia
Cuba|Cuba
Cyprus|Cyprus
Czech Republic|Czech Republic
Denmark|Denmark
Djibouti|Djibouti
Dominica|Dominica
Dominican Republic|Dominican Republic
Ecuador|Ecuador
Egypt|Egypt
El Salvador|El Salvador
Equatorial Guinea|Equatorial Guinea
Eritrea|Eritrea
Estonia|Estonia
Ethiopia|Ethiopia
Falkland Islands(Malvinas)|Falkland Islands(Malvinas)
Faroe Islands|Faroe Islands
Fiji|Fiji
Finland|Finland
France|France
French Guiana|French Guiana
French Polynesia|French Polynesia
French Southern Territories|French Southern Territories
Gabon|Gabon
Gambia|Gambia
Georgia|Georgia
Germany|Germany
Ghana|Ghana
Gibraltar|Gibraltar
Greece|Greece
Greenland|Greenland
Grenada|Grenada
Guadeloupe|Guadeloupe
Guam|Guam
Guatemala|Guatemala
Guernsey|Guernsey
Guinea|Guinea
Guinea-Bissau|Guinea-Bissau
Guyana|Guyana
Haiti|Haiti
Heard Island/Mcdonald Islands|Heard Island/Mcdonald Islands
Honduras|Honduras
Hong Kong|Hong Kong
Hungary|Hungary
Iceland|Iceland
India|India
Indonesia|Indonesia
Iran|Iran
Iraq|Iraq
Ireland|Ireland
Isle Of Man|Isle Of Man
Israel|Israel
Italy|Italy
Jamaica|Jamaica
Japan|Japan
Jersey|Jersey
Jordan|Jordan
Kazakhstan|Kazakhstan
Kenya|Kenya
Kiribati|Kiribati
Kuwait|Kuwait
Kyrgyzstan|Kyrgyzstan
Lao|Lao
Latvia|Latvia
Lebanon|Lebanon
Lesotho|Lesotho
Liberia|Liberia
Libyan Arab Jamahiriya|Libyan Arab Jamahiriya
Liechtenstein|Liechtenstein
Lithuania|Lithuania
Luxembourg|Luxembourg
Macao|Macao
Macedonia|Macedonia
Madagascar|Madagascar
Malawi|Malawi
Malaysia|Malaysia
Maldives|Maldives
Mali|Mali
Malta|Malta
Marshall Islands|Marshall Islands
Martinique|Martinique
Mauritania|Mauritania
Mauritius|Mauritius
Mayotte|Mayotte
Mexico|Mexico
Micronesia|Micronesia
Moldova|Moldova
Monaco|Monaco
Mongolia|Mongolia
Montenegro|Montenegro
Montserrat|Montserrat
Morocco|Morocco
Mozambique|Mozambique
Myanmar|Myanmar
Namibia|Namibia
Nauru|Nauru
Nepal|Nepal
Netherlands|Netherlands
Netherlands Antilles|Netherlands Antilles
New Caledonia|New Caledonia
New Zealand|New Zealand
Nicaragua|Nicaragua
Niger|Niger
Nigeria|Nigeria
Niue|Niue
Norfolk Island|Norfolk Island
North Korea|North Korea
Northern Mariana Islands|Northern Mariana Islands
Norway|Norway
Oman|Oman
Pakistan|Pakistan
Palau|Palau
Palestine|Palestine
Panama|Panama
Papua New Guinea|Papua New Guinea
Paraguay|Paraguay
Peru|Peru
Philippines|Philippines
Pitcairn|Pitcairn
Poland|Poland
Portugal|Portugal
Puerto Rico|Puerto Rico
Qatar|Qatar
Réunion|Réunion
Romania|Romania
Russian Federation|Russian Federation
Rwanda|Rwanda
St. Barthélemy|St. Barthélemy
St. Helena|St. Helena
St. Kitts/Nevis|St. Kitts/Nevis
St. Lucia|St. Lucia
St. Martin|St. Martin
St. Pierre/Miquelon|St. Pierre/Miquelon
St. Vincent/The Grenadines|St. Vincent/The Grenadines
Samoa|Samoa
San Marino|San Marino
Sao Tome/Principe|Sao Tome/Principe
Saudi Arabia|Saudi Arabia
Senegal|Senegal
Serbia|Serbia
Seychelles|Seychelles
Sierra Leone|Sierra Leone
Singapore|Singapore
Slovakia|Slovakia
Slovenia|Slovenia
Solomon Islands|Solomon Islands
Somalia|Somalia
South Africa|South Africa
South Georgia/Sandwich Islands|South Georgia/Sandwich Islands
South Korea|South Korea
Spain|Spain
Sri Lanka|Sri Lanka
Sudan|Sudan
Suriname|Suriname
Svalbard/Jan Mayen|Svalbard/Jan Mayen
Swaziland|Swaziland
Sweden|Sweden
Switzerland|Switzerland
Syrian Arab Republic|Syrian Arab Republic
Taiwan|Taiwan
Tajikistan|Tajikistan
Tanzania|Tanzania
Thailand|Thailand
Timor-Leste|Timor-Leste
Togo|Togo
Tokelau|Tokelau
Tonga|Tonga
Trinidad And Tobago|Trinidad And Tobago
Tunisia|Tunisia
Turkey|Turkey
Turkmenistan|Turkmenistan
Turks/Caicos Islands|Turks/Caicos Islands
Tuvalu|Tuvalu
Uganda|Uganda
Ukraine|Ukraine
United Arab Emirates|United Arab Emirates
United Kingdom|United Kingdom
United States Minor Islands|United States Minor Islands
United States|United States
Uruguay|Uruguay
Uzbekistan|Uzbekistan
Vanuatu|Vanuatu
Vatican City State|Vatican City State
Venezuela|Venezuela
Viet Nam|Viet Nam
“Virgin Islands, British”|”Virgin Islands, British”
“Virgin Islands, U.S.”|”Virgin Islands, U.S.”
Wallis/Futuna|Wallis/Futuna
Western Sahara|Western Sahara
Yemen|Yemen
Zambia|Zambia
Zimbabwe|Zimbabwe
S2Member Drop down Option Configuration File: * (one option per line)
Use a pipe | delimited format: option value|option label
The W3 Total Cache plugin writes custom entries in the wp-config.php file that are URL specific. If you have this plugin installed, even if you disable it, the entries still stay in your wp-config.php file. If you fail to update the URL in these entries to your new site URL, you won’t be able to login to the admin of your WordPress site.
Here’s the entry you’re looking for in your wp-config.php file:
You'll either need to remove both W3 Total Cache entries or update your new site URL in the second entry (YOUR-SITE.com).
There are a number of other possible causes as to why you can't login to WordPress's admin, however updating or removing the W3 Total Cache wp-config.php entries aren't listed as a solution by WordPress or most of the other Login Problem tutorials available, even though it's a common problem source. We've run across this problem several times in the past and wanted to pass along the solution. Hope this helps. Best of luck.
]]>Here’s the link: https://www.elegantthemes.com/preview/TheProfessional/357-2/
]]>Event Espresso is a very robust event registration system for WordPress that is available as both a free and premium plugin. There are also a number of add-on companion plugins available to enhance Event Espresso’s functionality.
Below is a comprehensive list of Event Espresso shortcodes available for displaying Event Espresso information within your website pages and posts:
Displays a single event on a page or post
[SINGLEEVENT single_event_id=”your_event_identifier”]
Displays an “Add Event to Cart” link that can be added to the event details, page, or post. Requires the Multiple Event Registration addon.
[ESPRESSO_CART_LINK]
[ESPRESSO_CART_LINK direct_to_cart=1 moving_to_cart=”Redirecting to cart…”]
(Used to redirect to the shopping cart page. Must be added to an event description.)
[ESPRESSO_CART_LINK event_id=”add_event_id_here” direct_to_cart=1 moving_to_cart=”Redirecting to cart…”]
(Same as above, but uses the event_id paramter and can be added to a page or post.)
Returns a list of events
(comma separated)
id
date(start_date)
date(end_date)
event_name
date(registration_start)
date(registration_end)
city
state
category_id
venue_title
Attention:
The [EVENT_LIST] shortcode should not be used as a replacement for the [ESPRESSO_EVENTS] shortcode. Replacing the [ESPRESSO_EVENTS] shortcode will break your registration pages.
For more information about the attendee listing shortcodes and customizations. Please view the Attendee Listing Shortcodes page.
[EVENT_ESPRESSO_CATEGORY event_category_id=”your_category_indentifier”]
——————
For more information, please visit:
http://eventespresso.com/forums/2010/10/post-type-variables-and-shortcodes/
———————–
These shortcodes can also be accessed through your WordPress site’s admin panel if you’ve already installed Event Espresso:
[googleplusauthor]
[googleplusauthor]
The thirty second video below shows the process.
[googleplusauthor]
]]>We recently had a software development project requirement where we needed to show certain BuddyPress members in the BuddyPress Members Directory. Specifically, BuddyPress members who belonged to certain roles/levels needed to be displayed. For example you may only want to show Administrators or Editors in the members directory or in our case, show only S2Members of a certain membership level.
S2Member is a WordPress membership plugin that works well with BuddyPress. It’s really more than a plugin, it actually more accurately resembles a complete membership framework that works with WordPress similar in scope to BuddyPress. S2Member comes in two flavors, Free & Pro. The free version is amazingly robust and should serve the needs of most basic WordPress / BuddyPress site requirements, however the Pro version offers a full suite of functionality for more complex installations.
In our case, we needed to show all WordPress Administrators and S2Members with a membership level of 1 in the directory. The BuddyPress members directory is generated through The Members Loop contained in the directory: plugins/buddypress/bp-themes/bp-default/members/members-loop.php. Members-loop.php is where you’ll modify the code to show only certain types of BuddyPress users instead of the default which shows all users.
The code itself is fairly straightforward. In the while loop that generates each BuddyPress user listing in the directory, you’ll need to get each member’s user id and then get their role. After
add
This sets the variable $user to the current BuddyPress user being fetched in the While loop.
Next, add
$s2member_var = get_user_field ("s2member_access_role", $user);
You can use any variable name here, in our case because we primarily want to show S2Members of level 1, we named our var, $s2member_var. This line gets the user field "s2member_access_role" for the current user in the loop who's user id = $user.
Lastly, we want to only show BuddyPress users in the directory who are Administrators or S2members of level 1. Using a simple 'if' statement, we say if $s2member_var which contains the current user's role (Administrator, Editor, Subscriber, s2member_level0, s2member_level1, s2member_level2, etc.) is exactly equal to "s2member_level1" or "administrator" then show the member in the BuddyPress members directory. If not, skip this user and loop to the next one.
Here's the code to begin the loop:
Here's the entire members-loop.php file for reference. Please note other customizations were done to the loop, including:
1) Listing users in alphabetical order in the BuddyPress members directory
2) Showing BuddyPress custom profile fields in the BuddyPress members directory from the BuddyPress registration form.
3) Removing the "last active" label from each user's BuddyPress members directory listing.
[googleplusauthor]
]]>