6995 comments found.
Why is reCaptcha loaded multiple times just because I want to use the captcha in different forms?
https://screenshots.work/vfs0LzJj https://screenshots.work/lrx0WkyYAnd why doesn’t the theme have a meta description?
Hi,
Yes, if you use it in different forms, it will load in other places.
No, we already have meta descriptions. What’s the problem with that?
Well, I don’t have a meta description:
https://screenshots.work/WMKwtTlCThere’s nothing in the source code either.
If I integrate a meta description via functions.php, it works:
https://screenshots.work/kGP2LPMZ
add_action('wp_head', 'add_default_meta_description', 5);
function add_default_meta_description() {
if (is_front_page() || is_home()) {
global $post;
$existing_description = '';
$existing_description = get_post_meta(get_option('page_on_front'), 'rank_math_description', true);
if (empty($existing_description)) {
$default_description = "Discover expert dating advice, relationship tips, and answers to your burning love questions at DatingQA.com. Navigate romance confidently—find clarity, connection, and lasting relationships today!";
echo '<meta name="description" content="' . esc_attr($default_description) . '">' . "\n";
}
}
}
Then I also solved the problem with “Heading elements are not in a sequentially-descending order”:
https://screenshots.work/q8clkNbMAt least that’s 2 points better than before.
But the theme still has a few more issues:
https://screenshots.work/lyHqQDxjCurrently, I achieve the following page speed scores on desktop: 99/92/100/100, and on mobile: 82/90/100/100
Fix for DOM size
// 1. HTML compression and comment removal
function compress_html_output($buffer) {
// Remove HTML comments (except IE conditions)
$buffer = preg_replace('/<!--(?!\[if).*?-->/', '', $buffer);
// Remove unnecessary spaces and line breaks
$buffer = preg_replace('/\s+/', ' ', $buffer);
return $buffer;
}
function start_html_output_buffer() {
if (!is_admin()) {
ob_start('compress_html_output');
}
}
add_action('template_redirect', 'start_html_output_buffer');
// 2. Remove empty <div> and <section> using JS
function remove_empty_containers_js() {
if (!is_admin()) {
echo "<script>
document.addEventListener('DOMContentLoaded', function () {
document.querySelectorAll('div:empty, section:empty').forEach(el => {
el.remove();
});
});
</script>";
}
}
add_action('wp_footer', 'remove_empty_containers_js', 99);
</div>
Fix for Heading elements are not in a sequentially-descending order
function fix_heading_hierarchy_js() {
if (!is_admin()) {
?>
<script>
document.addEventListener('DOMContentLoaded', function () {
try {
document.querySelectorAll('h4.member__name').forEach(function(el) {
const h3 = document.createElement('h3');
h3.className = el.className;
h3.innerHTML = el.innerHTML;
el.replaceWith(h3);
});
} catch(e) {
console.warn('Fehler im heading-fix:', e);
}
});
</script>
<?php
}
}
add_action('wp_footer', 'fix_heading_hierarchy_js', 100);
function fix_heading_hierarchy_style() {
if (!is_admin()) {
echo '<style>
h3.member__name {
font-size: 1.2rem; /* Passe auf exakte h4-Größe an */
font-weight: normal; /* falls nötig */
margin: 0 0 0.5em;
}
</style>';
}
}
add_action('wp_head', 'fix_heading_hierarchy_style', 99);
Fix for Touch targets do not have sufficient size or spacing
function force_touch_target_fix_css() {
if (!is_admin()) {
echo '<style>
/* Global minimum sizes */
.header-search input[type="search"],
.header-search button[type="submit"] {
min-width: 48px !important;
min-height: 48px !important;
box-sizing: border-box !important;
}
.header-search button[type="submit"] {
margin-left: 8px !important;
font-size: 16px !important;
line-height: 1.2 !important;
}
/* Focus indicator */
.header-search button[type="submit"]:focus,
.header-search button[type="submit"]:active,
.header-search input[type="search"]:focus {
outline: 2px solid #005fcc !important;
outline-offset: 3px !important;
}
/* Centered icon */
.header-search .search-wrapper {
position: relative !important;
}
.header-search .search-wrapper input[type="search"] {
padding-right: 40px !important;
}
.header-search .search-wrapper button[type="submit"] {
position: absolute !important;
top: 0 !important;
bottom: 0 !important;
right: 8px !important;
margin: auto 0 !important;
height: 24px !important;
width: 24px !important;
background: transparent !important;
border: none !important;
padding: 0 !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
cursor: pointer !important;
}
.header-search .search-wrapper button[type="submit"] i {
font-size: 18px !important;
color: #fff !important;
line-height: 1 !important;
}
</style>';
}
}
add_action('wp_head', 'force_touch_target_fix_css', 50);
Fixed for [user-scalable=“no”] is used in the <meta name=“viewport”> element or the [maximum-scale] attribute is less than 5.
I copied the header.php into the child theme and adapted the viewport:
<meta name=“viewport” content=“width=device-width, initial-scale=1”>
Thank you so much for your hard work, Good luck for your work.
Hi, I know my support has expired but I’ll appreciate if you help me understand on these two questions: 1. Can I restrict users to post questions and answers to a particular category? For example, only users who have paid for a particular plan or package can post in some selected categories while other categories remain free for all?
2. How can I enable nested categories in this theme ? Or have the ability to select more than one category when posting a question just like you would do in blog posts or WooCommerce products?
Hi,
1 – You can do that for all categories, not for specific categories.
2 – You can choose different styles for the categories from the theme settings/Question settings/Add – Edit – Delete.
How to set 100% (fit the content area) width for the featured images?
https://screenshots.work/YwncvGbWHi @coderworks!
Thanks for using Discy.
For the questions only? or posts also?
Thank you, we look forward to serving you!
Best Regards.
Yes, for both, pls.
Thank you, we look forward to serving you!
Oh yeah? And that’s why I’ve been waiting for an answer for four days?
Hi,
Sorry for the late reply.
Try to use this code for the child theme/functions.php file
add_filter("discy_show_defult_image_page","discy_child_none");
add_filter("discy_featured_image_single_question_width","discy_child_none");
add_filter("discy_featured_image_question_width","discy_child_none");
add_filter("discy_featured_image_single_question_height","discy_child_none");
add_filter("discy_featured_image_question_height","discy_child_none");
add_filter("wpqa_featured_image_answer_width","discy_child_none");
add_filter("wpqa_featured_image_answer_height","discy_child_none");
function discy_child_none($return) {
return false;
}
Ok. Works. Thanks.
a) Recommendations for an SEO plugin? (Google Page Speed reports, among other things, that there is no meta description.)
b) Recommendations for preventing comment spam (replies)?
1 – Yoast or Rank Math.
2 – Any spam plugin it will work.
I deleted my website and reinstalled it, after reinstalling it is showing “Licenses are in use”. I had installed and activated this website on the same domain name earlier. So why is this problem appearing now.
Hi,
I’ve just revoked it for you, you can use it now.
Hello, I want to change the currency in the payment fields. In which file of the theme is the TRY text located? I want to find it and replace it with “₺”.
Hello,
When you buy the theme I’ll let you know how to do that.
Hi! I purchased the Discy theme, but I would like to use it on a different website. Since it’s no longer active on the previous site, is there a way to revoke the current license and activate it on my new domain? Let me know if this is possible. Thanks!
Hi,
I’ve just revoked it for you, you can use the new domain now.
All Licenses are in use. You can use the license on only one domain, revoke the license from the Licenses page on our site to be able to use it on this site.
My Wordpress is saying this.
How do i revoke the liscense from another website?
Hi,
I just saw you made it, so everything is fine?
just looking in the manual as to how to access setup the new ai feature is there a section? if so can you direct me to it
Hi,
Just you need to put the api key and it will work.
Hi there,
When setting up the Home Page template, I enabled “Sticky Questions”, selected “Load More” as the pagination style, and set “Items per page” to 5.
However, if there are more than 5 sticky questions (e.g., 16 sticky questions), the page displays all 16 at once instead of limiting it to 5 per page.
How can I fix this so that only 5 sticky questions are displayed initially, with the rest loading incrementally via “Load More”?
Looking forward to your support. Thanks!
Hi @monsterakk007!
Thanks for using Discy.
The sticky questions are not counted for the items per page.
Thank you, we look forward to serving you!
Best Regards.
Hi there,
Can it be achieved with some custom codes please?
Because if the sticky questions is not counted for the items per page then the loading time of the site is too long….
No sorry, but this is not available.
Hi
Could you tell me which file in the theme controls the display of sticky questions of Home template? I’d like to research it myself.
No, it’s not easy to do that, sorry about that.
Okay…. Sir, For the option of Ajax file load from admin or theme Which one is better? load from theme more faster or not?
It’s better to make it from admin.
Why? Could you tell me Pros and Cons Pls.
We made it optional to work from the theme because some of the cache plugin blocked the file which worked from the admin, so if your plugin do that, you can use it from the theme.
So, there won’t be any conflicts or other issues using the Ajax load from theme, is it?
Yes.
Presale.
Thanks you for the giving out the best all your best.
1. here are my two domains https://itsupportforum.com and https://asksupportdesk.com of all your thinks what fits each as far as what you might understand when you first read the domain name. am new to Tech and my passion is tech support.
2. which one should do you think i should go with first of the two domains because i cant imprement both
3. if there any addon for the app all all basic functions are included
4. how much do you charge for customisation.
Hi @mwebe!
Thanks for your interest in Discy.
1 – You need to buy a new license for every domain.
2 – If you can’t buy 2 licenses, you need to choose the content you loved more to continue in your site.
3 – This is the theme and when you buy the theme you don’t need to buy anything.
4 – For what?
If you have any more questions, please do not hesitate to contact us.
Thank you, we look forward to serving you!
Best Regards.
How can I make the response of a registered user automatically approved without the need for moderation approval?
Hi @nijat7!
Thanks for using Discy.
Your support expired. Please renew it.
From here https://2code.d.pr/mFkIRE and here https://2code.d.pr/HaJoAa
If you activated the custom permissions https://2code.d.pr/n077Yc && https://2code.d.pr/YWNtME you must activate it for the user group too.
Thank you, we look forward to serving you!
Best Regards.
Thank you very much, this problem has been resolved, but one big problem is that the site freezes when a user posts a question. What could be causing this?
This means you need to pay for the OpenAI credit, or you can stop the answering by AI.
before purchasing i wanted to check if ChatGPT can be integrated and working
if yes please share a document or steps to check on your demo website
Hi @mallireddymanikyalareddy!
Thanks for your interest in Discy.
It didn’t need any steps, just put the API key and it will work, you can test our demos.
If you have any more questions, please do not hesitate to contact us.
Thank you, we look forward to serving you!
Best Regards.
Hi Thanks once more for this wonderful software and your support, I am building a very wonderful website with it. My question is this, is there a way for the admin to see all answers submitted on the site. This is moderation purpose.
Hi @faradng!
Thanks for using Discy.
Yes, sure, from here https://2code.d.pr/i/AP3jYl
Thank you, we look forward to serving you!
Best Regards.
I know how to see the answers from wordpress end. I was asking how to see all answers from front end?
Why? What do you want to do exactly?
As an Admin, i will like to be able to see all the submitted answers from the website front-end instead of through wordpress admin page.
For easy and fast moderation of answers.
is it possible
No sorry, it’s not available.
I want only Register users to answer the question … how to enable this???
Currently i notice anyone … even unregister guest also sharing thoughts on questions… so where is the option to enable only for login users.
2nd….
I want to change “Ask a question” text i couldnot find the option… where it;s???
Hi @dkc_00!
Thanks for using Discy.
1 – You can do that from the theme settings/Users settings/Permissions.
2 – You can use the loco translate plugin or poedit program.
You can check from here https://2code.info/docs/discy/translation-plugin/ and https://2code.info/docs/discy/translation-theme/
You can use them in the same language, not only for translation into another language.
Thank you, we look forward to serving you!
Best Regards.
1) I could not find ON / OFF option i check multiple times. Just tell me If I want only Loged in users to comment or reply to question then what to do???
under Permission section
UPDATE – Ok i got it… thanks … for your help.
Ok, that’s great.
When i use CHILD THEME & Try to backup using Updraftplus i am getting this error -
Warning: Your WordPress installation has a problem with outputting extra whitespace. This can corrupt backups that you download from here. Follow this link for more information
But
When i switch back theme to Original (Non child) this error is no longer there.
How to fix while using child theme?
Hi @dkc_00!
Thanks for using Discy.
Can you give me a screenshot of this error?
Thank you, we look forward to serving you!
Best Regards.
I Buy this theme and app when offer 2code. Please inform me.
Hi @ashraf420!
Thanks for your interest in Discy.
So sorry, but we didn’t have discount.
If you have any more questions, please do not hesitate to contact us.
Thank you, we look forward to serving you!
Best Regards.
one of the biggest i did in my life buying this theme which worth 0$ every other day ask me to activate license but never let me to submit license key…good luck for who is thinking about buying https://nexasnap.com/
Hi,
You didn’t need to put the license key, you can just activate it with your buyer account and clicking on the register license button, it will redirect you to Envato to approve the permission and it will back again for the site and it will be activated.
Is there a way to activate users via email OTP? Can it be achieved?
Hi @monsterakk007!
Thanks for using Discy.
The confirmation mail does the same thing already; the user just needs to confirm their email to complete the registration.
Thank you, we look forward to serving you!
Best Regards.
Yep but nowadays, people more familiar with email OTP. It is more user friendly and smoothly to enter the website. And one issue now is that the activation users still can see feed tabs and can make follow on feed part.
They are not seeing the feed tab, just showing the recent questions.
The people also know the confirmation link; it works on a lot of sites.
No, I have redirected registered user to feed tab, so let them follow tag and category and users. That cause issue the registered activation users can also make following.
Yes, the confirmation link works but the OTP function can skips the above issues, after enter OTP, users become subscribers and can follow tag, category….etc.
It is no problem for them to follow and see the content; they can’t share any content only.
If you want the OTP with email, we can do that for you with extra price if you want.
How much will it cost for OTP with email?
Please send us via the support page.
Hi sir, what are the main differences between Discy and Ask me.
The main difference is design, and Discy has more features like groups.
Hi Dear,
I want to set up cache clearing when new questions or answers are published or edited. For this purpose, I need to confirm how the theme handles the definition of these custom post types and whether specific hooks are available to trigger actions like clearing the cache when a post is saved or published.
1. Where can I find the definitions for the custom post types “question” and “answer” within the theme code?
2. Are there any specific hooks or actions defined for publishing or saving these post types (such as publish_question, publish_answer, save_question, save_answer)?
3. Is there any documentation or resource within the theme to help me better understand how these custom post types and hooks are integrated?
Sincerely,
There are a lot, and sure I can’t tell you about them, so I need to search to find them because there are a lot, but if you ask about one thing, I can tell you.
So, the documentation is not for the developer.
Yep, I need 1. Publish Question/Answer. 2. Edit Question/Answer.
And Could you please tell me the name of all the cookies. I need to put the cookies in the excluded cache. Recently, I just put admin-ajax.php in excluded cache.
One more thing, please check the screenshot below
https://postimg.cc/vgKbFPz8I hope that when I click on the Author name (or) avatar, it will open in a new window, is that possible?
One more thing, how to disable embed video. Because there is displaying YouTube iframe when there is youtube link. I just need to display youtube link.
1 – After adding question: wpqa_finished_add_question After editing questions: wpqa_finished_edit_question
After adding answer: wpqa_action_after_add_comment After editing answer: wpqa_after_editing_comment
It’s also hard to send list for all the cookies.
2 – About profile image and name, no it’s not available.
3 – All the time, you want the youtube video to be a link?
2 – Could you send me the hooks about profile image and name?
3 – Yep, all the time. YouTube video to be a link, no need embed.
Any responses please?
2 – Sorry, but this is not available.
3 – Sorry, You can try to find any plugin to do that.
3 – Yes I have found, no plugin can do that….they just disabled wp oembed, but it does not work. I think that it is the embed function of Disy or WPQA. Because in 2022, there is no this kind of embed function, only displayed the YouTube link there. So I asked you….could you please check that please.
Could you kindly advise me on how to exclude the like/dislike voting results from being cached? I am using litespeed cache plugin, I want to ensure that these votes reflect the latest changes without users having to clear their cache or perform a hard refresh.
3 – Sorry, but you need to check if there is any plugin that does that, if you want with the custom price I can do that.
4 – For the unlogged users? or logged users? because logged users didn’t have any problem.
3 – Okay noted.
4 – For unlogged users.
4 – It saved them with cookies, so what’s the problem for that?
So, how to exclude cache for that cookie pls, (cookie name or something) so the unlogged users can see the real time of voting results.
It’s not easy to do that, because it includes a random number and question id.
Oh….that’s really important for me….so is there any other ways to exclude the cache of voting results please? Or the part of cookie name that includes voting results….
These are the part of cookies: wpqa_question_vote_up, wpqa_question_vote_down
Well noted. Is it included the part of voting results?
This is the part of it: wpqa_question_poll
I mean the answer voting results. Not the question…...
Here: wpqa_comment_vote_up, wpqa_comment_vote_down.
Noted. Is it included voting results? Because the cache for the unlogged users is still displaying “0” vote
It’s only WordPress function
get_post_meta($question_id,"question_vote",true);
I bought this theme for a subdomain, how can I cancel it and replace it with a domain name?
Hi @nijat7!
Thanks for using Discy.
Your support expired. Please renew it.
I’ve just revoked it for you, you can use it now.
Thank you, we look forward to serving you!
Best Regards.
When user delete thier account then they should get SUCCESSFUL message saying your account has been deleted.
But it’s showing something like this.
Check here – https://postimg.cc/Czp7JJGw
Can i show them successfull message after they delete thier account? if yes then How? share Image please… where is the option
Hi @dkc_00!
Thanks for using Discy.
It’s already returned to the homepage and shows the message, did you change settings in the slug settings for the user settings?
Thank you, we look forward to serving you!
Best Regards.
How to remove IMAGE upload option from the
- comments of questions. - Ask a question tab
I want to remove both ADD MEDIA & INSERT IMAGE.
How?
Also, if someone copy image & paste on site then image should not accept in anyway.
I want to apply this feature on white site. NO IMAGE UPLOAD in anyway.
Help please.
You don’t need the uploading image totally?
You can remove the 2 options of the uploaded, but if you activate the editor and someone copies the image, it will posted in the editor; if you want to stop that too, you need to stop the editor too.