• Resolved Adri Oosterwijk

    (@adri-oosterwijk)


    Hi, thank you for a great plugin.
    Two little question however.
    1. I use [duo_faq category=315 title " "]

    The tiltle <h2> Frequently asked questions on <category name></h2> still shows. What am I doing wrong? According to its markup it does not injects the id for h2 (id="faq-top") so I could not hide it by css as well. Please advice.

    2. Can the plugin be used by WPML? I crated a workaround but I don’t know if this is your advice also.
    I made the FAQs translatable and gave them per language a category. English, Nederlands and so on. Then I use on the English page the category=”CATEGORY_ID” -> English and on the Dutch page the category for the dutch language. Is this advisable or is it better to choose a different approach.

    https://www.ads-software.com/plugins/duofaq-responsive-flat-simple-faq/

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author DuoGeek

    (@duogeek)

    Hi there

    Thanks for informing us. I can confirm the 1st issue. I have added it in our bug list, and very soon we will release an update.

    About second question, the plugin backend is not translatable yet. But for front end, yes, you are in correct way ??

    — DuoGeek

    Thread Starter Adri Oosterwijk

    (@adri-oosterwijk)

    Hi,

    Thank you for your reply.
    I hope that you will ba able to make a fix soon. I want to hide it because it is (as it seems) not translatable and the category names. In my situation the category names are the languages and I don’t want to show them. So I will add a title by myself, just as normal page content.

    About the second. Great! Thank you for confirming.

    Adri

    Thread Starter Adri Oosterwijk

    (@adri-oosterwijk)

    I saw an update coming. I thought…. that’s blazing fast. I suspect it is due to another issue I guess. Or isn’t it? In any case the problem stil exists.

    Plugin Author DuoGeek

    (@duogeek)

    Hello Adri Oosterwijk

    I am sorry, the fix of this issue is not pushed yet, we are waiting to have fix on some other issues too. We will push another update in this weekend with the fix of your issue.

    — DuoGeek

    Thread Starter Adri Oosterwijk

    (@adri-oosterwijk)

    Hi DuoGeek,

    Thank you for your reply and thank you for fixing this (minor) issue on such a short notice. I see the update coming.

    Adri

    Plugin Author DuoGeek

    (@duogeek)

    Hi there

    A new version is just released, and title for category shortcode is fixed.

    — DuoGeel

    Thread Starter Adri Oosterwijk

    (@adri-oosterwijk)

    Hi DuoGeek,

    Thank you for updating the plugin so quickly. However…..

    I’m Using this shortcode in my page [duo_faq category=315 title" "]
    The only change with the old version is that the category name (in my case the language name) is hidden. I was expecting that the whole title “Frequently asked questions” was hidden too. I want to be able to create my own title in the page before the shortcode.
    In your code:

    public function faq_shortcode( $atts ){
                extract( shortcode_atts( array(
                    'category' => '',
                    'title' => __( 'Frequently Asked Questions', 'df' )
                ), $atts ) );

    you are calling it ‘title’ as well so there is the source of my wrong assumption that it could be hidden after the update. As far as I can see the settings give also no possibility to change that. Overriding in my child theme is also not working. I can only change it in the original code by removing the title line in the code above which will be overwritten in the next update.

    A very simple solution would be (IMHO) to wrap the outputted <h2> Frequently asked questions </> in a div or give it a class name so it could be hidden through css.

    I think we can all benefit from it. Thanks again for responding so quickly.

    Plugin Author DuoGeek

    (@duogeek)

    Hello Adri

    I have just tested and here is the screenshot: https://take.ms/ZsrbJ

    The shortcode used: [duo_faq category=”3″ title=””]

    I think you have missed an equal sign in your shortcode after title. So, instead of
    [duo_faq category=315 title" "]
    Try
    [duo_faq category=315 title=" "]

    Please inform us if that works for you.

    — DuoGeek

    Plugin Author DuoGeek

    (@duogeek)

    Duplicate reply

    Thread Starter Adri Oosterwijk

    (@adri-oosterwijk)

    Hey DuoGeek,

    Sorry for my late reply. For what ever reason I missed your answer.
    You were very right about the = sign in the shortcode.

    It works like a charm right now.

    Thank you!

    Adri

    Plugin Author DuoGeek

    (@duogeek)

    Great! Very glad to know ??

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Title not hiding’ is closed to new replies.