Forum Replies Created

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • in reply to: Page Specific Menu in Total Theme #2726
    plimfec
    Participant

    I recommend these two plugins for that:

    Widget Logic


    https://wordpress.org/plugins/widget-logic-by-path/

    With just the first you can achieve what you want, but the second makes it easier to use.

    plimfec
    Participant

    I’m aware of the option to change the ‘read more’ text through the php file, but I prefer to change the language file instead. And I’d love to use the program Poedit for it, because this would prevent the necessity of adding another plugin to the WordPress backoffice.

    Also: I’d like to translate all kind of English words and phrases throughout the website, not just that particular button text. Changing all of these through the code files, would result in a too big child theme.

    But thank you for the suggestion, for translating just one button text, it would certainly do.

    I think i’ll give the Loco translate plugin another try. I must have overlooked something I suppose..

    in reply to: Home button not showing selected in menu #2628
    plimfec
    Participant

    No problem, happy to help 🙂

    in reply to: Home button not showing selected in menu #2625
    plimfec
    Participant

    I found the answer.

    You need to force the homepage link in your site menu to get the ‘current class’ (so you can call it in your stylesheet). You can do so in the backoffice of WordPress, like explained here:

    http://wordpress.stackexchange.com/questions/39529/when-at-or-home-my-menu-doesnt-get-a-current-menu-item-class (first answer)

    Then you add this to your custom stylesheet:

    .page-template-home-template .ht-main-navigation .current_page_item > a, .page-template-home-template .ht-main-navigation .current-menu-item > a {
    	background: #3366CC;
    	color: #FFFFFF;
    }

    You can put this code wherever you normally put your custom code, but best you use a child theme for it.

    plimfec
    Participant

    @ Myrian:
    Did you try already? And did you succeed?

    Here it’s not working at all. I’m able to edit the files using the plugin mentioned above, but the changes don’t show at the front of the website.

    So, the next step was trying to change the language file (total.pot) using the program Poedit (like I use to do with other themes), but that’s not working either. No changes visible at the front.

    I tried all locations on the server to put the language file. In my child theme, in the original Total folder, even in the WordPress folder: ‘wp-content\languages\themes’ (sometimes this works, like it does for the old Twenty Eleven theme).

    I’m out of ideas, so any help is highly appreciated.

    Btw Poedit gives a syntax error concerning ‘nplurals=INTEGER; plural=EXPRESSION;’ when I try to save the language file after changing it. I replaced it with the right one (I suppose):

    nplurals=2; plural=(n != 1);

    … and the error disappeared.

    But still no luck with the language file.
    Are we sure everything is allright with that file?

    in reply to: Recent Update Changes #2592
    plimfec
    Participant

    Yes, it is working. But pay attention to the quotes, these should be the right ones for PHP to recognize.

    This should work:

    add_filter('total_home_sections', 'total_new_home_sections');
    
    function total_new_home_sections($array){
    $array = array('slider','about','portfolio','service','featured','team','counter','testimonial','blog','logo','cta');
    return $array;
    }
    in reply to: How to add "see all posts" button or link to Blog Section? #2590
    plimfec
    Participant

    You could use the ‘Call To Action Section’ for this:

    1. Go to Appearance > Customizer > Home Sections
    2. Activate the ‘Call To Action Section’
    3. Choose a title like ‘Read all blog posts?’
    4. Choose for the ‘Button 1 Text’ something like ‘Visit my blog’
    5. Add in the field ‘Button 1 Link’ the link to your blog page

    in reply to: Home button not showing selected in menu #2589
    plimfec
    Participant

    I’m dealing with the same issue. I don’t get it done in the stylesheet, so any help is appreciated.

    Thanks in advance.

    in reply to: Post Tags – where are they? #2588
    plimfec
    Participant

    Hi there,

    Are you considering to add this feature in the future? I hope so, because I think post tags are crucial for SEO.

    Thanks for the wonderful theme btw, besides the missing tags I really love it.

    in reply to: Slider showing full content of page #2587
    plimfec
    Participant

    Thank you very much, billy!
    Your code is working great.

    One thing however:
    In your code you use ‘.hs-slide-cap-desc’, but of course this should be ‘.ht-slide-cap-desc’.

    So this is the (your) right code:

    .ht-slide-cap-desc { display: block; display: -webkit-box; max-width: 100%; height: 3.75em; margin: 0 auto; font-size: 25px; line-height: 1.25em; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; }
    @media screen and (max-width: 720px) { .ht-slide-cap-desc { font-size: 18px; } }
    @media screen and (max-width: 580px) { .ht-slide-cap-desc { font-size: 16px; } }

Viewing 10 posts - 1 through 10 (of 10 total)
Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!
CHRISTMAS SALE ! 🎁🎁 Enjoy 30% OFF 🔖 Use Coupon CodeHOLIDAY at checkout.