nobleknight
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [GeneratePress] Noindex posts only for google without pluginsThanks, Alvind.
I reached the WPCode support and they advised me to change the “$post->ID” with?“get_the_ID()” and it worked.
Sorry for the GP theme developers as the issue was not related to the GP theme; great theme by the way.
Thank you very much, Mircea.
I changed the “$post->ID” to “get_the_ID()”?and it worked.
You saved me a lot of time and effort.Thanks again for your great assistance (even though the source of the issue was not related to the plugin).
Forum: Themes and Templates
In reply to: [GeneratePress] Change author link hover textThank you very much, David.
The code works perfectly.
Thanks for all your contributions to the community.
Forum: Themes and Templates
In reply to: [GeneratePress] Change author link hover textThanks David for your response.
I’m sorry if I can’t provide here my website’s url. If it’s possible, I can do it in private message or through any contact form.
Otherwise, I’m using:
- WordPress: 6.4.3
- GeneratePress theme: 3.4.0
Thanks.
Thank you very much, Ying. Your code worked very well.
At first, I had a syntax error when I copy-pasted it to my website, probably because of spaces issue; so, I just wrote the desired line and it worked.
Thanks again.
I know that. The problem is I can set sidebars for any other page on my website, except the series frontend, because it doesn’t look as a normal page. There is no page for the series; it doesn’t show with the other pages of WordPress. I think it’s dynamically created by the plugin.
Thanks, Riza, for your response.
I want to customize the visitors’ view of the series: the page that “View series in frontend” link to in the “Manage Series” interface.
I want to display it with no sidebars.
Thanks again.
- This reply was modified 1 year, 5 months ago by nobleknight.
I didn’t even know that this code was a javascript. I intended to use it to solve some 404 issues in GSC, but I think I will search for other ways.
By the way, I don’t want the code to show; neither for me as an admin or anyone, as it’s supposed to just be there for the bots/plugins causing the 404 error (a /undefined amended to the end of urls).
Anyway, given that this was a javascript code and I’m using the free version of Code Snippets, I guess that won’t work. Thanks anyway for your effort and time.
Thanks, Shea, for your answer.
After re-reading my request, I realize now that it was not enough clear and explained.
Actually, what I want is that the code doesn’t show in the front-end.
Unfortunately, after purging every cache I have, I found that code is displayed for everyone, not just me as an admin, which is definitely not the normal behavior.
Moreover, the code breaks the website icon in the browser.
If you think that the code is ok and the plugin won’t cause such thing, I think that it would be probably related to the theme or other plugins.
- This reply was modified 1 year, 8 months ago by nobleknight.
Well; I cleared the cache of “WordPress Fastest Cache” plugin many times, as well as Cloudflare one; maybe that was not enough. Anyway, it can be a way now to solve this issue, even though it’s an indirect one!
- This reply was modified 1 year, 8 months ago by nobleknight.
Yeah, you’re right David.
It still works when I set the layout back to “Text”; so, it’s not really the feature, but maybe just the toggle on/off.
Thanks Patrick for the suggestion.
I’ll take a look and see if it’s a better solution.
Best Regards.
Hi, Patrick.
I tried the code you provided but the GDPR checkbox didn’t show, so I changed its Top property different times to make it appear in the form, which works but with the same wrapping issue for its text.
I guess I would keep the original setting (no custom CSS) with the GDPR checkbox under the submit button since it is working correctly, even though I think that it would be better for the visitor of the website to have the GDPR checkbox before the submit button.
Thanks anyway.
Best Regards.
OK Nithin.
Here is what I get with 2 different codes:
– Code 1:
.hustle-checkbox.hustle-gdpr{ position: absolute !important; top: 67%; } .hustle-button-submit{ margin-top: 7%; }
– Result 1:
– Code 2:
.hustle-checkbox.hustle-gdpr{ position: absolute !important; top: 69%; } .hustle-button-submit{ margin-top: 35%; }
– Result 2:
As you can see, the second code is a little better on mobile, but not on desktop. Also, the GDPR text goes a little beyond the frame.
- This reply was modified 2 years, 5 months ago by nobleknight.
- This reply was modified 2 years, 5 months ago by nobleknight.
- This reply was modified 2 years, 5 months ago by nobleknight.
Thanks Pawel. I submitted the website info through your contact form.
For now, I’m not using the modified CSS code. If you want me to do so, please let me know.
Thanks again.