I created these plugins and snippets for use on my own site. You're free to use and adapt them for your own projects! However, I can't guarantee that they work on every site and in combination with every other plugin.
Different dashboard menus for: (1) users who have paid for a listing (2) users who have free published/pending/preview listings (3) users who have an account but no listings.
- The plugin creates a new menu for the Woocommerce Menu location. If a user has no listings the menu shows Bookmarks, Profile and Log out link. If a user has free listings (pending, preview, published), it shows My listings, Bookmarks, Profile and Log out link. If a user has paid listings, it shows the Dashboard (with stats), My listings, Bookmarks, Profile, Promotions, Orders, Addresses and Log out link (all localized).
- Redirect to homepage after registration or logging in on the My Account page.
Version 1.02, tested with MyListing 2.8.0
Did you find this plugin helpful and do you want me to create more plugins? Buy me a coffee!
The default Bookmarks and My Listings account page are a bit basic. This plugin adds the cover images to Bookmarks & My Listings in MyListing Theme. And bookmarks are ordered ascending from first bookmark to last.
Version 1.1, tested with MyListing 2.8.0
Did you find this plugin helpful and do you want me to create more plugins? Buy me a coffee!
Add this to Additional CSS in WordPress Customizer to improve mobile UI.
PS not applicable anymore for version 2.8.0
.nav-tabs .show-filters::after {
font-size:11px;
content: "ZOEKEN";
}
.nav-tabs .show-results::after {
font-size:11px;
content: "RESULTATEN";
}
.nav-tabs .show-map::after {
font-size:11px;
content: "KAART";
}
.explore-mobile-nav ul li {
padding-bottom:10px;
}
.nav-tabs>li>a {
padding-bottom:0px;
}
@media only screen and (max-width: 1200px) {
.c27-explore-search-button {
bottom:69px;
}
}
Add this to functions.php to automatically geolocate when loading the front page
function location_javascript() {
if (is_front_page()) {
?>
<script>
(function ($) {
$(document).ready(function(){
setTimeout(function() {
$(".geocode-location").trigger('click');
},10);
});
})(jQuery);
</script>
<?php
}
}
add_action('wp_head', 'location_javascript',1000);
Do you want to get in contact about these plugins and snippets? Send me an e-mail: martijn@martijnjoosse.nl