boombalaya
Forum Replies Created
-
This is by far the quickest response and solution I have received from a WP plugin developer. The problem is solved now. Thank you for putting your work out there for others to benefit from it, keep up the great work!
Forum: Plugins
In reply to: [Wild Apricot Login] If content is restricted, Show nothingHello. Is this plugin actively maintained? Do you guys accept pull requests? I would like to suggest the addition of a tag in the ContentRestriction module to allow for specificity in CSS manipulation. The text string “You are not authorized to access the requested content.” is not contained within a tag and cannot be referred to via CSS. There are cases in our layout where we do not want this message to be displayed. If it is not possible to prevent this line from rendering, at least we could hide it by targetting its css class.
Suggestion:
Modules/ContentRestriction/Module.php – Line 14
Replace:
array('accessDeniedMessage' => __('You are not authorized to access the requested content.', WaIntegrationPlugin::TEXT_DOMAIN))
With
array('accessDeniedMessage' => '<span class="wa_restricted_contain_message">'.__('You are not authorized to access the requested content.'.'</span>', WaIntegrationPlugin::TEXT_DOMAIN))
Thank you
- This reply was modified 4 years, 9 months ago by boombalaya.
Forum: Plugins
In reply to: [Basic Google Maps Placemarks] api keys added, map is graySame issue here, api and geocoding keys are present. map grey.
Hello, this didn’t work for me! I created a CPT and custom taxonomies for it, I see them in the admin columns but when I enter to edit a custom post, I can’t see them at all. Is there anything else I have to do apart from enabling REST API on both CPT and Taxonomies?
Forum: Plugins
In reply to: [Bogo] Rewrite translated terms slug?Hello Takayuki Miyoshi. Thank you for your reply. But I think that solution beats the purpose of this plugin.
If I create the term in English it would also be displayed in Spanish, and that means a user would see both terms in both languages. That would be a mess.
At the moment, is it not possible to rewrite the slugs?
Thanks again!
Forum: Plugins
In reply to: [Bogo] Detect if a page has a translationHello Takayuki Miyoshi. I would like to extend this question.
bogo_get_post_translation() = returns true or false whether or not the post has translations.
Is there another function to get an array of the post’s translations?
Thank you!
Forum: Plugins
In reply to: [Bogo] Language Selection PageHello Philip. This should get you started, Create a front-page.php file in your theme and include the following php code:
<?php $langs = bogo_language_switcher_links(); echo '<ul class="language-list">'; foreach ($langs as $lang): ?> <li><a href="<?= $lang["href"]?>"><?= $lang["native_name"] ?></a></li> <?php endforeach; echo '</ul>'; ?>
- This reply was modified 6 years, 6 months ago by boombalaya.
Nevermind. Another restart of the server and everything is working as expected.
Thank you!Thank you! Ok I’ve managed to make it work, however I have a little problem.
I had set the slug /foo in replacement of /wp-login.php, but after I played a little more with it I changed it to /bar.
However /foo still leads me to the login page and /bar takes me to a 404 page.
I have reloaded the nginx config. Cleared cache, cleared cookies, re-save permalinks (Although not sure if this has anything to do with it), What else do I need to do to update the login slug?
Thank you!
Forum: Plugins
In reply to: [WordPress Mega Menu - QuadMenu] Translate “Your cart” in menu widget?Thanks a lot for working on this! unfortunately after the update I see there’s another issue with the “Mega” elements. Background images are not working.
Forum: Plugins
In reply to: [WordPress Mega Menu - QuadMenu] Translate “Your cart” in menu widget?Hey that’s awesome! thank you.
Forum: Plugins
In reply to: [WordPress Mega Menu - QuadMenu] Translate “Your cart” in menu widget?Can’t share a URL as I’m working locally. However this is what I’m talking about:
includes > frontend > walker > QuadMenuItemCart.class.php Line 84.
The title “Your Cart” is there, and I don’t see a way to edit the string without editing the code directly.
Forum: Plugins
In reply to: [Bogo] Updating current language on AJAX-fetched posts?Ok let me clarify my question. I am using the plugin “WordPress Infinite Scroll – Ajax Load More” (https://www.ads-software.com/plugins/ajax-load-more/) which uses a powerful shortcode to fetch posts via AJAX, but whenever I fetch my posts, the translatable text strings are displayed in the default locale instead of the current page’s locale.
I want to know if it’s possible to query for a specific language using Admin-ajax.
Thank you, I’ve already asked in the forums but I will clarify with your input!
Hey @dcooney, thank you for the quick reply!
Well Bogo is free and well maintained, I know it’s not as popular as others but I think its structure is great. Please let me know if there’s anything I can do to help you help me.Again, thanks a lot for getting back so quickly!