Forum Replies Created

Viewing 15 replies - 1 through 15 (of 36 total)
  • Thread Starter ecoduma

    (@ecoduma)

    Oh, yes, the problem is really with BackUpWordPress plugin (F-word!)
    I’ve renamed it in the Plugins directory and the site’s come to life.
    Now I suppose I need to spend some time to choose another candidate for backing up the site. So be aware!

    Thread Starter ecoduma

    (@ecoduma)

    I dont’t know what’s happening but obviously something mysterious.

    I have done all as you said. The Telegram icon with a link once appeared at the front page and then dissapeared again.

    On other pages everything is OK (still, I’m afraid).

    If it was possible to attach screenshots here I would do that, but… but you can look at the pages yourself, the link’s been provided.

    Here is the code of the snippet (as it is put in the plugin):

    function addtoany_add_follow_services( $services ) {
        // Add Telegram
        $services['telegram'] = array(
            'name'  => 'Telegram',
            'href'  => 'https://t.me/${id}',
            'icon'  => 'telegram',
            'color' => 'e50e25',
        );
        // Add VK
        $services['vk'] = array(
            'name'  => 'VK',
            'href'  => 'https://vk.com/${id}',
            'icon'  => 'vk',
            'color' => 'e50e25',
        );
    
        return $services;
    }
    add_filter( 'A2A_FOLLOW_services', 'addtoany_add_follow_services', 10, 1 );

    I may assure you ‘widget’s Telegram field’ is not empty. That’s also obvious as long as it seems other pages except the front page are OK. And that is particularly strange because the same widget caters for all the pages (in the case of a right sidebar).

    The cache has also been emptied. Moreover, I’ve checked the changes with some browsers and devices. As for mobile browsers some of them don’t show icons at all while others do, so I think if a browser doesn’t show icons (and links) in the widget at all it’s rather because of its settings (BTW the heading of the block (under the widget) is seen; you can check it either on your own).

    So as for now I’ve left everything ‘as is’ and look forward to hearing from you any suggestions.

    Thread Starter ecoduma

    (@ecoduma)

    Thank you.
    I tried to look into details yesterday. Yes, all ‘enqueue_style’s are in the theme’s functions.php file. I think as they say me what fonts they’ve chosen I’ll be able to rewrite them.

    On the other hand, if there is a need some time in the future to update a theme the functions.php will also be updated and all changes will be defaulted, right?

    Wouldn’t it be better to place new fonts into a child theme’s style.css via @import? Will that repeal functions.php’s rules regarding font sets used?

    I love to learn but you know: ‘Work done, have your fun’.

    Thread Starter ecoduma

    (@ecoduma)

    Now look, Telegram button has to be right after Youtube’s but it doesn’t. Even a link is absent (if to hover over that place where it should be).
    If I turn back a “+” button will reemerge with a quite valid link. But how to get Telegram icon instead of “+” one? How does the snippet fall back to the ‘universal’ button, why can’t it find Telegram’s?

    Thread Starter ecoduma

    (@ecoduma)

    Sure it is (I mean HTML) because as I saw the substituting ‘telegram_follow_service’ for just ‘telegram’ doesn’t solve a problem, I turned back to the initial state.

    Here is a snippet’s code you’ve provided me at the beginning:

    function addtoany_add_follow_services( $services ) {
        // Add Telegram
        $services['telegram_follow_service'] = array(
            'name'  => 'Telegram',
            'href'  => 'https://t.me/${id}',
            'icon'  => 'telegram',
            'color' => 'e50e25',
        );
        // Add VK
        $services['vk'] = array(
            'name'  => 'VK',
            'href'  => 'https://vk.com/${id}',
            'icon'  => 'vk',
            'color' => 'e50e25',
        );
    
        return $services;
    }
    add_filter( 'A2A_FOLLOW_services', 'addtoany_add_follow_services', 10, 1 );

    As you can see for VK it’s exactly as you advised to do. But I need not a VK button so I haven’t added it in the widget and we can’t see how this change in the code affects the layout.

    I didn’t know you would want to look at the HTML so now I will do again as you said – substitute ‘telegram_follow_service’ for ‘telegram’. Please, check all you want to.
    I just need a solution (if it can be reached at all).

    Thread Starter ecoduma

    (@ecoduma)

    I did. The icon has dissapeared at all as it wasn’t there. I mean even “+” and a link. Just a hollow place.

    Thread Starter ecoduma

    (@ecoduma)

    Thank you. I forsee it won’t be easy. In any case I’ll give a try and then tell if something goes wrong.
    It also would be nice if you point out what files I should look up exactly, just to narrow my task a bit.

    BTW, there is already a child theme but it has only slightest modifications as far as I have been able to comprehend it for the moment.

    Thread Starter ecoduma

    (@ecoduma)

    I did all as you said but original icons haven’t shown up. The universal one (“+”) instead. What missed?

    Thread Starter ecoduma

    (@ecoduma)

    Thank you.

    From my point of view there is a complete medley with fonts used in a theme – Google Fonts, Font Awesome, plugins installed have their own reservations.

    The theme I am talking about is not localised, so instead of some fonts for which other subsets except Latin don’t exist browsers fall back to generic ones and that’s also not OK.

    I’ve just wanted to bring an order to the code and layout, reduce a number of fonts used, substitute some fonts…

    Of course, first of all I went to view page sources of the site but the thing you know is that pages are generated by a server and the resulting code of pages is just nonexistent. And the problem (for me) is that I don’t know where from all those strokes of code come.

    So as for me it’s a challenge to find all that links littered all around the theme, remove them and substitute for the new ones that I want to. And again as for me in this case editing of style.css file is the least obstacle in the way.

    Thread Starter ecoduma

    (@ecoduma)

    Well, thank you! Now I will try to do my best.
    But… I would still like to ask…
    if I place this code just into a theme’s functions.php will it work as intended?

    Thread Starter ecoduma

    (@ecoduma)

    Thank you, but why Code Snippets? We don’t have one and I don’t think they will be glad with the idea to install another piece of code in order to place yet another one…

    Could you please tell me where exactly (file, place whithin it, etc.) I should place the piece of code shown above to make it work without undertaking any additional roundabouts?

    Thank you,

    Well, well, well… Thank you! Yes, I’ve got such a plugin. I hope it’ll be safe to turn it on again after finishing with elementor?

    I have got the same issue. Right after installing (half an hour ago). It occurs with an attempt to start a new page or post – doesn’t matter -and edit it with Elementor.

    The last version of page builder installed, other information regarding hosting is as follows:
    Operating System: Linux
    Software: Apache/2.4.10 (Unix)
    MySQL version: 5.7.17
    PHP Version: 5.6.30

    Protocol: https

    Awaiting your answer eagerly!

    Thanks,

    P.S. For what the hell did I uninstall SiteOrigin? Tut-tut!

    Thread Starter ecoduma

    (@ecoduma)

    As for me I stopped considering Unyson as a tool for page building. For now there are more interesting free solutions, e.g. Elementor, SiteOrigin, LiveComposer, so you needn’t confine yourself with only one app.

    Moreover, you can try Abobe Muse, but keeping in mind that it will take some labour to put a site (pages) composed with Muse into WordPress.

    Forum: Fixing WordPress
    In reply to: GWD and WordPress
    Thread Starter ecoduma

    (@ecoduma)

    Thank you,

    That is, the only way is to use appropriate plugin, innit?

Viewing 15 replies - 1 through 15 (of 36 total)