• Hello there. I do not know english. I’m using translate.
    this plugin is great, but I want to add this plugin to the post title. I did not work for 4 hours. please help. right next to the post title, how do I add to the right in the aged ???

    How to maket add shortcode in post title?

Viewing 4 replies - 1 through 4 (of 4 total)
  • No idea. I think you have to use it as it is. Why don’t you search contact with the programmer and suggest him to write a variant?

    Maybe you want to adapt the output? I don’t see any other solution than put the support page with the explanation in the google translator also. It’s not so difficult.

    Thread Starter Mfa

    (@mfa95)

    sorry, is not this the support page? I just wanted to know where to write the code snippet. I’ve searched, but I could not find anything for it. It is called as get_the_title () in single.php. but when added, it is added under the post head. I want to add to the side. I looked at the fuctions.php code for this, but there I found only the text insertion code. like this.

    function new_title ($ title) { $ new_title = ‘nic’. $ Title; return $ new_title; } add_filter (‘the_title’, ‘new_title’);

    but this code is affecting the position of the title in every place. as well as adding text only. I just want to add a save for later tusun to the post title and immediately after the title. I need to do this with Add_filter, but how can I help fonctions? I do not speak English, translate my language is very bad translation

    Thread Starter Mfa

    (@mfa95)

    at the end it helped ?? This code can also be useful for you. There were too many errors (loops). How can I optimize this code? and do I have to use css to hijack the side of the head (to the right of the head)? Thank you ??

    add_filter(‘the_title’, ‘baslikta_kaydet’, 10, 2);
    function baslikta_kaydet($title, $id) {
    if (get_post_type($id) == “post” && !in_the_loop()) {
    $YeniBaslik = $title . ‘ ‘ . do_shortcode(“[simplicity-save-for-later]”);
    return $YeniBaslik; }
    else {return $title;}
    }

    Hi,

    Does it work?

    Did you put it on fiddle or another code showcasing website?

    Send me thàt link and I’ll follow everything with excitement!

    Success,
    Monique.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Help to add to the title of the article!’ is closed to new replies.