• Resolved dzejkins

    (@dzejkins)


    Hi guys, thansk for that great plugin ??

    I have a question – is it possible to put eg. <a href="xx">aa</a>` link into file that include custom texts (eg. en-GB.com_acymailing_custom.ini)? Browsers stops pharsing at “=” sign.

    Have you got any idea?

    Greetings

    • This topic was modified 4 years ago by dzejkins.
    • This topic was modified 4 years ago by dzejkins.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi @dzejkins,

    Many thanks to you for the kind words!
    You can use &quot; for this. This way it won’t break the line ??

    Thread Starter dzejkins

    (@dzejkins)

    Thanks for your answer @alexacymailing!

    Could you show me some example? In my xxx_custom.ini file i have somethink like this example:

    SOME_CUSTOM_TEXT="bla bla <a href=&quot;some_url&quot;>text</a>"

    but source code of my browser brakes at the equal sign (i think so), it looks like that:

    "bla bla <a href"

    Hi,

    Please let me know the context. What are you trying to do?
    I guess you’re trying to change a string displayed in AcyMailing to add a link right?
    Or are you working on some custom code / development?

    I think I need more details to help here ??

    Thread Starter dzejkins

    (@dzejkins)

    Alexandre, im trying to insert “a href” link into custom translations file. Custom translation files are located here in my case:

    /wp-content/plugins/acymailing5/language/

    I’m trying to put some translation with link in it, as example below.
    SOME_CUSTOM_TEXT=”bla bla text

    Is it cleare for you now? ??

    Thread Starter dzejkins

    (@dzejkins)

    I can’t edit post above, there should be:

    
    SOME_CUSTOM_TEXT="bla bla <a href=&quot;some_url&quot;>text</a>"

    Hi,

    Oh ! You’re talking about v5.

    Please try to use this <a href="_QQ_"xx"_QQ_">aa</a>

    You need to replace every double quote " by "_QQ_".

    This should be working ??

    Thread Starter dzejkins

    (@dzejkins)

    Alexandre, thanks for your answer, but equal sign is the problem in this case i think. I’m sorry, but your solution doesn’t work. All stops at equal (=) sign.

    For example if i put somethink like this ‘1+1=2’ into custom translation, in source code i can see only 1+1.

    ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘a href in custom text file’ is closed to new replies.