Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Forum: Plugins
    In reply to: [Polylang] hreflang
    Thread Starter jatkinson1

    (@jatkinson1)

    How do you mean? like this:

    remove_filter( 'pll_rel_hreflang_attributes', 'filter_pll_rel_hreflang_attributes', 10, 1 );

    Tried and didn’t work as expected.

    Forum: Plugins
    In reply to: [Polylang] hreflang
    Thread Starter jatkinson1

    (@jatkinson1)

    Hi Chouby,
    Thanks for this it helped. (sort off) I figured out how to use it to modify the hreflang. but now it adds my modified ones. But still keeps the original output to example:

    
    <link rel="alternate" href="#" hreflang="de-DE" />
    <link rel="alternate" href="#" hreflang="fr-FR" />
    <link rel="alternate" href="#" hreflang="es-ES" />
    <link rel="alternate" href="#" hreflang="it-IT" />
    <link rel="alternate" href="#" hreflang="en" />
    <link rel="alternate" href="#" hreflang="de" />
    <link rel="alternate" href="#" hreflang="fr" />
    <link rel="alternate" href="#" hreflang="es" />
    <link rel="alternate" href="#" hreflang="it" />
    

    Is there way of removing the original ones? as my digital manager says this wont work the way it is currently.

    Thread Starter jatkinson1

    (@jatkinson1)

    Thanks Adam yes indeed it was a jobify thing but solved it myself in the end by deleting that instances of wordpress and re-installing everything. lucky we are only just starting the project really.

Viewing 3 replies - 1 through 3 (of 3 total)