Carl
Forum Replies Created
-
Forum: Plugins
In reply to: [Solid Post Likes] Query loop blockOk.. If that is the case and the plugin is not ready to be used in the block editor, then what is the correct way to use the “Enable Post Likes in Loop“?
Thank you.
Forum: Plugins
In reply to: [Solid Post Likes] Query loop blockOn the other thread similar to this one, you mentioned that the plugin does not work with the block editor? Can you explain?
Thank you.
- This reply was modified 1 year, 6 months ago by Carl.
Forum: Plugins
In reply to: [Solid Post Likes] Disable Anonymous UserI did and they are not genuine. I had to hide the like button for non-logged-in users. You think this feature can be added relative quickly? The best scenario would be to show the like button with the count and if someone tries to like the post and is not logged-in, to re-direct them to the login page or any custom URL.
Forum: Plugins
In reply to: [Solid Post Likes] Like counter inside a query loop blockYes. All this time I’ve been talking about the query loop block. The plugin needs to take advantage of all this new features in WordPress.
Forum: Plugins
In reply to: [Solid Post Likes] Like counter inside a query loop blockHey @oacstudio,
In this case @xaifu is not using the out of the box query loop block. Something is missing in your plugin to actually grab the post ID individually.
Forum: Plugins
In reply to: [Solid Post Likes] Query loop blockA query loop with post type: “Post” and with a category filter. I put your shortcode in a paragraph and that’s it. Nothing special. The like button does show up for all the posts, but with the same post ID.
Forum: Plugins
In reply to: [Solid Post Likes] Disable Anonymous UserI understand.
What I’m noticing are random likes from anonymous users and I don’t know if they are real or bots, because the site is not even known to the public.
Forum: Plugins
In reply to: [Meta Field Block] Page LinkSimple HTML. I don’t know why I keep thinking there is more to it. ??
You may close this thread. Thank you.
Forum: Plugins
In reply to: [Meta Field Block] Page LinkHey! @mr2p
What about adding a tittle when hovering the link? That way they know what they are clicking since is an icon.
Forum: Plugins
In reply to: [Solid Post Likes] Query loop blockThis is the URL for all the posts when I hover the like button:
action=oacs_spl_process_like&post_id=382&nonce=9d7c03dc33&is_comment=0&disabled=true
Forum: Plugins
In reply to: [Solid Post Likes] Query loop blockHello! Thank you for getting in touch with me.
I installed the new version (Version 1.0.9) from scratch and enabled “Enable Post Likes in Loop“, but it stills identifies each post with the same ID.
Is there something else I can test? Thank you.
Forum: Plugins
In reply to: [Meta Field Block] Page LinkHow did I miss that…
I really appreciate your help. Thank you.
Forum: Plugins
In reply to: [Meta Field Block] Page Linkadd_filter( 'meta_field_block_get_block_content', function ( $block_content, $attributes, $block, $post_id ) { $field_name = $attributes['fieldName'] ?? ''; // Replace your_field_name with your unique name. if ( 'business_page' === $field_name && $block_content ) { $block_content = preg_replace( '/<a(.+?)>.+?<\\/a>/i',"<a$1><i class="um-faicon-list-alt"></i></a>", $block_content ); } return $block_content; }, 10, 4);
The error says:
Syntax error, unexpected identifier “um”, expecting “)”.
Forum: Plugins
In reply to: [Meta Field Block] Page LinkNot sure I understand. I tried replacing the word “View” with the icon, but is not working.
Forum: Plugins
In reply to: [Meta Field Block] Page LinkHello Phi Phan,
Your previous solution worked as expected. I was wondering if I can do the same, but with an icon (SVG or FA) and replace the word “View”? I need this for another page.
Thank you.