smunk
Forum Replies Created
-
Thanks for your reply!
Yes, that is normal behaviour, the registration triggers our custom code, and since your email is not on our internal whitelist, your registration gets rejected.
It only works because I have disabled the Cleantalk plugin. If i enable it, the registration gives an error messages like “Something went wrong” no matter if the email address is on our whitelist or not.Forum: Plugins
In reply to: [My Favorites] All posts get marked favoriteThanks for your answer.
The page is not using the block editor and not using the block theme.
It does use a page builder, Beaver Builder, and the posts are shown using one of its modules.
Without the shortcode tags[ccc_my_favorite_list_results]or[ccc_my_favorite_list_custom_template style=""], the page works fine, with all posts correctly showing their favourite-status.
If one of those shortcode tags are placed on the page, the page works fine the first second or two, then all posts change favourite status to being favorites. It seems that happens by the class “save” gets added to all “cc-favorite-post-toggle-button” elements.
Therefore my guess is that the JavaScript code that is executed when returning from the ajax call that helps the list-php to know which elements are favorites, adds the class to all cc-favorite-post-toggle-button elements, and not just those just rendered by the shortcode, and thereby shows all posts on the page as favourites.Forum: Plugins
In reply to: [My Favorites] All posts get marked favoriteThank you for your quick answer!
A page where the problem can be seen: https://kontemplation.eym.dk/praksisbibliotek/
Thanks for looking into this, I really appreciate!$user= pods( 'user', $userId );
$person= pods( 'person', $termId );
$field = $user->field($termName);
wp_update_term($termId, 'person', array($termName => $field));Moving the data from the field
$termName, from a custom (file) field on a user, to a custom (file) field on a taxonomy name “person”.
However, this doesnt work.- This reply was modified 1 year, 8 months ago by smunk.
Sort of solved it myself. If using author_name instead, things work as expected:
$args = array( 'author_name' => $authorname, );Not sure if it is because author_in demands that all authors of the post are represented in the array, or if it just some curiosity, maybe reading the doc for the WordPress query could shed some light on that… π
That works fine, thanks for your reply!
Thanks for your feedback!
I basically just installed the plugin, and then added a total of three authors to a post, and inserted some php in the post template like:
<?php
$ma =get_multiple_authors();
var_dump($ma);The result is the dump of an array where the first element is populated, but the next two only contains the term_id and then null values.
I have coded a workaround since I actually can get all information using only the term_id, but it would be nice if the array was properly populated.
ThanksYes, the account has an active membership level with subscriptions. Also, even if we didnt, i guess the shortcode should be resolved to some kind of text or something…
Found the answer π It is possible with the [foogallery id=”123″ attachment_ids=”123,12,123″] syntax!
Found it on https://docs.fooplugins.com/article/132-shortcode-attributes
ok, thanks!