Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter nipon7

    (@nipon7)

    Please could somebody help me? This is a big problem for me.

    Regards

    Thread Starter nipon7

    (@nipon7)

    Please! Need help.

    I would like tu put meta title and meta description on htttp://xxxx/events/2014-10-16/ entries.

    Could somebody help me?

    Thanks in advance

    Brook

    (@brook-tribe)

    Howdy nipon7,

    That is certainly changeable. Fortunately we have a snippet that will get you most of the way there. Here it is. As you can see it will help you change the <title> of any page, including day. Just remove the if{} blocks for pages you don’t want to change. And you can copy/past similar logic elsewhere to output custom descriptions!

    Thanks for posting. Cheers!

    – Brook

    Thread Starter nipon7

    (@nipon7)

    Thank you very much for your support.

    Please could you tell me where should I paste the code? Do I Have to create a new file, or simply paste the code on an exisiting file?

    Thanks in advance

    Regards

    Thread Starter nipon7

    (@nipon7)

    OK, I’ve tested by inserting the code in my theme’s custom function.php and it worked properly.

    If a single description is configured on the title. All the “date pages ” will have the same title (duplicated content on SEO).

    What I would like to know at the moment, is if there exist some possibility to add a variable on the title (something like %%currentdate%%). On this way the pages title always will be different (at least for the first entry of the day).

    I’ve tried to put on this way but it doesn’t work. could somebody explain me the way to put a custom variable on the title tag of the page, please?

    Thanks in advance

    Regards

    Brook

    (@brook-tribe)

    Hello again,

    Checkout tribe_get_start_date(). Our docs in general might be helpful here.

    What you would need to do is a PHP string concatenation using a function like that and possibly passing it a post id. It does not quite work like tags. If you’re feeling adventerous hopefully I just gave you enough things to Google. If not, you might need to hire a developer to perform the customizations you’re after. ?? Maybe someone else here will do some free work for you though? You never know. Some generous people on .org.

    Cheers!

    – Brook

    Thread Starter nipon7

    (@nipon7)

    Ok, perfectly understood.

    Thank you very much for your support.

    Regards

    Plugin Contributor leahkoerper

    (@leahkoerper)

    Thank you nipon7!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Title Tag on events’ is closed to new replies.