• Resolved senseisayspod

    (@senseisayspod)


    Hello,

    where can I modify the buttons’ titles ? Per example, I am looking to change “Google Podcasts” to “Google” and “Apple Podcasts” to “Apple”.

    Thanks !

    Pascal

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author SecondLineThemes

    (@secondlinethemes)

    Hi Pascal,

    You can basically use a translation plugin to do that like Loco Translate or any other similar one.
    Otherwise you can modify the plugin’s files but that wouldn’t be recommended as it would go back to default every time you update it.

    Thread Starter senseisayspod

    (@senseisayspod)

    If I were to edit the original files, where would I make the edits ? Looked through all of them and could not find anything.

    Thanks for the help !

    Plugin Author SecondLineThemes

    (@secondlinethemes)

    The link text would be here –
    \includes\CMB2\cmb2-init.php

    But as mentioned, the title/link texts are translatable and that would be a better option rather than changing the actual plugin code.

    Thread Starter senseisayspod

    (@senseisayspod)

    I tried to edit that file and it would not change the actual buttons.

    Thanks for the quick answers !

    Plugin Author SecondLineThemes

    (@secondlinethemes)

    Oh I’m sorry – you’re right.
    This would only change the titles in the dashboard.

    I’m afraid the actual titles cannot really be changed, as it’s taking the name from the icon filenames. You can make changes in the template-parts folder, but I would advise not to do that.

    Thread Starter senseisayspod

    (@senseisayspod)

    Can’t see where in the Template Parts Folder I could apply modifications: all the php files have short coding.

    Any CSS I could apply, then ? I really need Google and Apple buttons to be shorter, so all buttons fit on the same line and look the same (more or less).

    Also, how may I get a line of buttons to occupy the full width of my theme, so it is aligned with the rest of its content ?

    You can have a look at the website to see what I mean: https://www.senseisayspodcast.com

    Plugin Author SecondLineThemes

    (@secondlinethemes)

    You can use the icon-only layout option if you want to make it shorter, that might be helpful in your case.

    Currently it’s not possible to shorten the text, and while you can make adjustments in the PHP code to modify those, I wouldn’t recommend on doing that as you can lose the customization in the next plugin update.

    If you need any further adjustments like adjusting the width and so on, you can apply custom CSS.

    Thread Starter senseisayspod

    (@senseisayspod)

    Tried that, too. Problem with that solution is that, while icons look great on mobile, they don’t fill the space on desktop or are unaligned with content.

    Again, you can go on the site and see for yourself: I have switched from buttons to icons.

    Too much icons on desktop makes for too much lines on mobile.

    Any solution ?

    Plugin Author SecondLineThemes

    (@secondlinethemes)

    You can use some CSS to align the icons, for example –

    body .secondline-psb-subscribe-icons {
        display: flex;
        width: 100%;
        justify-content: space-between;
    }

    The plugin’s core functionality is to create and display those subscribe buttons, but eventually if you need a custom design or to fit it to a certain theme or layout, you’ll have to customize it. I’m afraid we can’t provide much support for customizations as the plugin is free.

    Thread Starter senseisayspod

    (@senseisayspod)

    Totally understand. You’ve been a great help, already.

    Thanks a lot !

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Edit buttons titles’ is closed to new replies.