Paul Bearne
Forum Replies Created
-
Forum: Plugins
In reply to: [Author Avatars List/Block] PHP related error messageI am bit confused
In my code this ln 31 isclass AuthorAvatars {
public AuthorAvatarsShortcode $author_avatars_shortcode;
private ShowAvatarShortcode $show_avatar;
Is yours the same?
Is this caching your site?Forum: Plugins
In reply to: [Author Avatars List/Block] A lot of duplicated queriesHi
I think I have fixed this just released new versionI could test, as I don’t have the posts to test with
It was the last post sortPlease test and let know if I got it right
PaulForum: Plugins
In reply to: [Author Avatars List/Block] A lot of duplicated queriesHi,
Can you provide the shortcode you are using so I can debug?
Paul
Forum: Plugins
In reply to: [Author Avatars List/Block] A lot of duplicated queriesThank you for this report
I will have look and see how I can remove these
Paul
Forum: Plugins
In reply to: [Author Avatars List/Block] Blank Avatarstry this
not it will work but it mightadd_filter( 'pre_get_avatar', static function(){ return betube_get_image_url( get_current_user_id() ); });
If not, then you will need a code to help
This is the link to Codeable?https://codeable.io/?ref=LGu6G?You can get fixed price quotes from them for your workForum: Plugins
In reply to: [Author Avatars List/Block] Blank AvatarsHi,
The tick here is the to hook into the get_avater() function WP https://developer.www.ads-software.com/reference/functions/get_avatar/
And use the filter to load you custom imagess
/** * Filters the HTML for a user's avatar. * * @since 2.5.0 * @since 4.2.0 The
$args
parameter was added. * * @param string $avatar HTML for the user's avatar. * @param mixed $id_or_email The avatar to retrieve. Accepts a user_id, Gravatar MD5 hash, * user email, WP_User object, WP_Post object, or WP_Comment object. * @param int $size Square avatar width and height in pixels to retrieve. * @param string $default_value URL for the default image or a default type. Accepts '404', 'retro', 'monsterid', * 'wavatar', 'indenticon', 'mystery', 'mm', 'mysteryman', 'blank', or 'gravatar_default'. * @param string $alt Alternative text to use in the avatar image tag. * @param array $args Arguments passed to get_avatar_data(), after processing. */ return apply_filters( 'get_avatar', $avatar, $id_or_email, $args['size'], $args['default'], $args['alt'], $args );Or the pre
/** * Allows the HTML for a user's avatar to be returned early. * * Returning a non-null value will effectively short-circuit get_avatar(), passing * the value through the {@see 'get_avatar'} filter and returning early. * * @since 4.2.0 * * @param string|null $avatar HTML for the user's avatar. Default null. * @param mixed $id_or_email The avatar to retrieve. Accepts a user_id, Gravatar MD5 hash, * user email, WP_User object, WP_Post object, or WP_Comment object. * @param array $args Arguments passed to get_avatar_url(), after processing. */ $avatar = apply_filters( 'pre_get_avatar', null, $id_or_email, $args );
then my plugin will just pick up your imagespaul
Forum: Plugins
In reply to: [TikTok] logger class braking other pluginsMaybe all your code should namespaced???
Forum: Plugins
In reply to: [Author Avatars List/Block] Images beside it the nameYou will need to adjust the CSS
I would start by making the container larger
Paul
Forum: Plugins
In reply to: [Author Avatars List/Block] Deprecation notice on php 8.1thanks for the report
pushed an update please test etc.
Forum: Plugins
In reply to: [Author Avatars List/Block] How to set spaces between avatar?You need to adjust the css
this example will add space below
.shortcode-author-avatars div.author-list .user {
margin-bottom: 23px;
}Forum: Plugins
In reply to: [Author Avatars List/Block] Gravatar images lost?Hi
Yes, you can upload images directly
You will need to install a local Avatar plugin.
PaulReach out to me via [email protected]
Hi Khoa,
I suspect that issue is that the default URL is /jobs/
You can change this in the Matador Jobs settings via the “Job Listings Slug” setting.
You can remove the Bullhorn plugin once Matador Jobs is all set up and revert the URL to /jobs/
Happy to jump on a callPaul
The authorization with the Bullhorn API is faulty
Check the settings in WP-admin
Ask Bullhorn Support to confirm key you have is still valid / issue an new oneForum: Plugins
In reply to: [Author Avatars List/Block] Filter by category show authors last post@seyitacar I don’t think we can
you maybe able to use a filter