You can add your rating code in answer.php (and create a folder in yourtheme/anspress to store it so that it resists new updates)
Update : it takes the content of the right answer as og:description only if you hack Anspress core to delete the # parameter in the answer of the url (which I did in the past). But now for many reasons I have to go back to the normal urls as they were designed originally by the Anspress team. And if you do, it will always take the content of the second answer (which is the answer that would normally appear on top of the page) Exemple : Let’s assume my question url is : mysite.com/q/my-question/ and I have 3 answers, with ID 1, 2 and 3, appearing in the following order on my page : ID1 appears above ID2 which appears above ID3. If I type this in Facebook debugguer : mysite.com/q/my-question/?show_answer=2#answer_2 it will take the description of the shared content from the answer 1 and not from the answer 2. But if I type this in FB debugguer : mysite.com/q/my-question/?show_answer=2 (that means, removing the # parameter) facebook takes properly the content of the answer 2 (see *NB below on how I achieved this) Now I tried on a normal FAQ page (not Anspress) on my website to see if that was due to Facebook not handling # properly or if was a bug belonging to Anspress. And it works properly there, so there is something in Anspress that makes it buggy… (*NB : You must also know that Anspress originally uses canonical urls for both mysite.com/q/my-question/?show_answer=2#answer_2 and mysite.com/q/my-question/?show_answer=2, in both […]
What version are You using, 3.0.7? If that is the case, there’s a bug in the categories plugin. You need to go to the AnsPress git page, download fix and replace on Your WordPress installation. Commit with fix: here File with the fix: here (right click and save as)
Can’t you add like this? <a href=”https://anspress.io/”>theword</a> I tried it on your site but don’t know the result, because I guess my answer is waiting for moderation. I didn’t understand Dutch.
i have no other theme’s
Hi, Why do you use !important in main theme? like here “.home .site-stats-pos .stats-item i” under “/themes/askbug/includes/css/askbug.css” LINE Number = 646 And how to overwrite that then with Child-theme?
Hello Rahu, I did but the questions disappear completely I dont understand your asnwer. In general can you be more precise on your answers please ?
Hello Guys, I spotted the issue. There’s nothing wrong in code as all new question and answers are sending proper emails. This is due to subscribers are not properly migrated. I am working on a fix.
please aceppted mycred and ansppres intregration