Difference between "normal" and multi-purpose header and its customization

Posted in: Newspaper
Post count: 39

Hi,

long ago i was asking how to add a line that one plugin needs so it shows in topbar next to social icons. After yours clarification, i ve managed to do the following:
in theme/newspaper/parts/header i have edited top-widget.php and entered code in:

//check to see if we show the socials from our theme or from wordpress
if(td_util::get_option('td_social_networks_show') == 'show') { ?>
<div class="td-header-sp-top-widget">
<span class="td-social-icon-wrap"><?php stl_show_selector('oneline', '/', 'ћир', 'lat') ?></span>
<?php

But now, since i love your theme, and i got 4 licences in total, for other site, i had to use multi-purpose plugin for one of yours templates.
I ve used multipurpose style 1 for header.
In /plugins/td-multi-purpose/header i ve found tdm-header-menu-h1.php wheres again that part of the code with //check to see if we show the socials from our theme or from wordpress, but i dunno how to put code in right way, so i get the same effect (adding switch for cyrilic/latin next to social icons placeholder, that stl_show_selector command)
Or it has to be placed somewhere else this time?

  • This topic was modified 8 years by brue.
  • This topic was modified 8 years by brue.
Post count: 23312

Hello brue76,

Sorry but please notice that the structure of the code it’s more complicated and it’s needed to make some additional customizations in order to achieve good results, unfortunately! Notice that task involves doing such custom work and we cannot provide something like this at the moment, sorry! If you are not aware of the steps which are needed to take in this case, please consider hiring a freelancer/developer to help you! Usually, we recommend the developers from studio.envato.com

Thanks for your understanding!

Post count: 39

Sorry, but i don’t understand.

Can you at least tell me if it’s that file, tdm-header-menu-h1.php? If not, then which one?
I ve got answer which file is in question backthen for top widget, dunno why now i cannot get answer for practicaly same question (just different place on layout, cause used template)?

Regards

Post count: 22421

Hello,

You added the code in the top menu social icons. The multi purpose menu simply calls the same file you modified earlier: https://www.screencast.com/t/VvKeNaFKnOTG The same top-widget.php is being used on the multi purpose top bar.
The header menu h1 is the main menu template, not the top bar template.

Thank you!

Post count: 39

Hi,

I see now that i haven’t highlighted where i want to put it, as i left default settings for that multipurpose template, mentioned it in Topic name and just proceed with question, forgetting to repeat it (template has social icons inside header menu line, and no need for top bar, which is turned off by default anyway).
So, sorry, my bad.
Right question would be: in which file to put that line of code that i ve asked, needed for mentioned plugin, so that switch shows up in header menu line, left from social icons, for Wine Cellar template?

Post count: 20688

Hi,

The socials are displayed in the top bar, so to display something near them you could use the same file, the one that you used initially. It may require further styling maybe, but they should at least appear in the right locations. Be sure to use proper code syntax so there will not be any errors caused by the addition.

Thanks

Post count: 39

Thanks, but in this multi purpose theme social icons are in the same line as header menu, and top bar is completely turned off?

Post count: 20688

The top bar should always be displayed when enabled in the theme panel. The socials will be displayed in it. The multi-purpose top bar style looks like this
https://www.screencast.com/t/uMmQsPeSbH
Entering code next to the socials should display it next to them
https://www.screencast.com/t/oG6aHGgNGBk
https://www.screencast.com/t/VRLwlh7ajElX

Post count: 39

Thanks, i might be boring, but i really dunno how to explain it now. Let me try with picture.
So:
1. Multipurpose Wine theme with Style 1-Multipurpose selected
2. Topbar is turned off by default, and i don’t need it
3. Template by itself has option to turn Search and Social icons in the Main Menu

Picture:
https://i.imgur.com/Gm9PsVy.jpg
As it shows, Search is far right, and to the left is Social Icons placeholder (i have only FB)

Questions:
– How to place something in X part, left from Social Icons?
– How to do the same for mobile, again i guess in that same line i.e. Main Menu (in mobile it switch to that 3 classic horizontal lines for header menu, mobile logo and search on far right – so, i need it for example between logo and search… or is there some other visible solution)?

Mobile pic:
https://i.imgur.com/PqIut0t.jpg

Post count: 23312

Hello brue76,

Sorry but please notice that the theme does not have any such an additional option that allows you add some elements in the top bar of Social Networks but only the Social Networks icons, from here -> https://www.screencast.com/t/ENysYcI7ZItb Please notice that all of these changes involves doing such an additional customizations which are not covered by our support, sorry! If you are not aware of the steps which are needed to take in this case, please consider hiring a freelancer/developer to help you because we cannot provide custom work at the moment, sorry!

Thanks for the message!

Viewing 10 posts - 1 through 10 (of 10 total)
The forum ‘Newspaper’ is closed to new topics and replies.