ldevore849
Forum Replies Created
-
What do you mean “get our hands on a copy of the theme”? I don’t think I can give you the theme’s CSS, if that’s what you’re asking. However, I think we have resolved the issue of the icon and the “like” text displaying. I’m going to look into the other problem with how to display the list of any user’s likes on their profile page using the link you suggested regarding the
do_shortcode
command. Other than that, I think this particular issue is resolved enough for me. Need to move on.Thank you for the response. Unfortunately that is a Premium extension, and my budget is already over limit.
I see that I can use the shortcode
[oacsspl_profile]
?to create a table for the user but I can’t add that to each user’s profile page, so where can I add it? Thank you.May I please have a reply?
By the way, where can users find their personal “likes”? Sorry if that seems like it should be obvious, but I haven’t discovered that yet. My users have just begun registering as of yesterday so I need to know as soon as possible. Thank you!
Yes, the Console script result was whatever I typed into the bar. So if I typed
Muh
, the result?of?carbon_get_theme_option('oacs_spl_like_text');
was"Muh"
. If I typedLike
, the result was"Like"
.?I assume that means the value does exist in the database, correct?
It must be a setting in the
SolidPostLikesText.php
file, don’t you think?Let’s try a newer version of a page link: https://crystalcovehoa.net/architectural-review-committee/
- This reply was modified 1 month, 4 weeks ago by ldevore849.
I can see that as well, but I obviously can’t go into each page’s html and add the text. What do you propose as a solution? A custom CSS fix?
Update: Both the “liked” heart and the “unliked” heart and counter display correctly but no “Like” or “Unlike” text displays at all. I have adjusted the padding to give plenty of room for both just in case. None of the button code in the
solid-post-likes-public.css
nor any other file has been changed. If you would give me help with this it would complete the correct working of the plugin. Thank you!Even though I marked this resolved on your part, I found out something from my theme designer that you should know. In researching why their theme had a conflict with your plugin, they discovered the following:
The plugin authors have made a small mistake when they apply their “icomoon” font to their icon elements. Instead of targeting their specifics icons, they target all icon classes on the website. This will conflict with any other plugins or themes that are modifying general icons as well. This is not the correct implementation for a plugin with its own icons.
Additionally, they are targeting the parent element instead of the
::before
element that contains the icon.“The plugin authors of Solid Post Likes should consider updating their CSS to properly target only their own icon elements, and correctly target the
::before
element that contains the icon.For example, by updating their icon selects to include their plugin class prefix:
.oacs-spl-icon[class^=”icon-“]::before, .oacs-spl-icon[class*=” icon-“]::before {
font-family: “icomoon” !important;
}This will prevent conflicts with any other theme or plugin that modify general icon classes.
That’s the end of their message to me. When I added that code to my site’s custom CSS, the heart symbol immediately displayed, so I guess their advice worked. I wanted you to know.
- This reply was modified 1 month, 4 weeks ago by ldevore849.
It does display in another theme so it must be a conflict with my theme (Superb Themes: Customizable Bloggily). I even disabled all plugins but solid-post-likes in my current theme and it still won’t display. I’ll check with the designer of my current theme.
Thanks for this suggestion. Since it displays in a simpler theme, I’ll mark it resolved for your part.
You said above:
Something on your site is commenting out the icomoon font that is required to display the icons:?https://share.zight.com/9ZuJBQk8
I think this is disabling the icon display.I found the path to that file but I don’t see anything in it that would disable the icon. As far as I can tell, it’s your php file, isn’t it? I do have 3 warnings in it from my file editor that may or may not matter:
Line 10:
font-display: block
is an unknown property
Line 13:[class^="icon-"], [class*=" icon-"]
Attribute selectors with^=
are known to be real slow!
Attribute selectors with*=
are known to be real slow!
Unqualified attribute selectors are known to be slow.
Line 16:speak: never
Expected (normal | none | spell-out | inherit) but found ‘never’.Is there anything specific in that file that I am missing? Please help me solve this problem. Otherwise, I’ll have to use another, less attractive plugin. Thank you.
https://share.zight.com/P8uOmJKm
https://share.zight.com/Kou8lg6Y
These are links to the PHP I mentioned before.
I just wrote a long reply that WP deleted for me I think because I had Zight links in it, although I’ve seen those in here before. What I tried to say was that I had installed Query Monitor plugin and it found 2 primary elements that are deprecated in your plugin’s code:
calling get_class() without arguments
andCreation of dynamic property OACS\SolidPostLikes\Controllers\App\SolidPostLikesLoader::$shortcodes
.Then I linked to the Zight list of many PHP codes that were found within those two elements that could be causing the symbol not to display. I can share them with you privately but I don’t have an address to do so. I’ll try another reply separate from this and see if it will work. Anyway, do you think the above information will help you?
The Setup Wizard notice has disappeared. This problem has been resolved. Thanks for the excellent help for this plugin.