Forum Replies Created

Viewing 15 replies - 496 through 510 (of 681 total)
  • Could you provide a link to a page/post with comments off?

    Add this in your custom CSS panel:

    #customizr-slider.carousel .item {
    height: 224px;
    min-height: 224px;
    line-height: 224px;
    }

    Just download it again, unzip and you put functions.php back. Don’t forget to mark as solved. Thank you.

    You need to put different questions in different threads, especially if they’re not related, so others could benefit from the answers.
    From what I understand, you’d like additional buttons for sub-pages of your featured pages displayed on homepage.

    That requires serious coding and it is beyond the scope of this forum. We’re here to guide you with the existing features of the theme.

    You have put your widgets inside Footer Area One.
    If you want them in your left sidebar, you need to put them in left sidebar. This is all done from Appearance > Widgets.

    But this has absolutely nothing to do with this thread. Please ask your questions in separate threads.

    Link, please?

    Of course. It’s just a matter of finding proper CSS selectors that only match one, not the other.

    .tc-thumbnail .round-div{ border-radius: 0;}

    That code cannot affect your homepage, Sudeep. It only affects Category name and description when you view posts in a certain category. That “>” is probably inside the contents of the page you selected as your home page. Edit that page and you will probably find the “>” at the start.

    If you want to be able to edit all 6 pages at any time, it’s a bit complicated. You need to rewrite some core functions and register some additional fields for it. However, there is a workaround but, once you set pages 1, 2 and 3 it’s going to be a bit more complicated to change them, if you want others in their place.
    Here’s the solution: put pages 1, 2 and 3 in your featured pages. Go to front page and select “View page source” from your browser of choice and select all the contents of <div class=”container marketing”>. Only the contents, not the div itself.
    Save this somewhere, in a notepad or something.
    Add this function in your child themes’ functions.php:

    add_filter('tc_fp_block_display', 'add_extra_fp');
    function add_extra_fp($html) {
    $extra_fp_html = '';
    /* Copy-paste the html saved before in $extra_fp_html on the line above
     * between the single quotes. Make sure you escape any single quote
     * from that code, using a backslash (Example: Hell\'s kitchen)
    */
    return preg_replace('/'.preg_quote('<div class="container marketing">', '/').'/', '<div class="container marketing">'.$extra_fp_html, $html, -1);
    }

    It should do the trick. Now when you change your featured pages you will change featured pages 4, 5 and 6.
    If you want to change 1, 2 or 3, you either need to set them back and re-copy/paste the page source in the function. Or you could just edit the contents of the function if the change is easy to find.

    There is an option to do it in such a way that all 6 options remain editable but, since you don’t have the skills to do that, I suppose you have to find someone who has and convince that person to use them for you. The theme author is probably your best bet.

    Put your content inside $after_slider variable (line 3) and add this function in your child themes’ functions.php:

    add_filter('tc_slider_display', 'content_after_slider');
    function content_after_slider($html) {
    $after_slider = ''; //Put your HTML inside this var
    return $html.$after_slider;
    }

    Please note that the content above will always be placed after any slider in your website. You could use a conditional that decides how to populate $after_slider depending on what page you are or…

    …alternatively, if you want to hook your content to the display of featured pages, use this function:

    add_filter('tc_fp_block_display', 'content_before_fp');
    function content_before_fp($html) {
    $before_fp = ''; //Put your HTML inside this var
    return $before_fp.$html;
    }

    @jan: thank you for your useful advice.

    Indeed, all mods suggested at (1.) should be done in a child theme. I wrongly assumed that was obvious.

    @josiah: He needs to create a home.php template file, not index.php.

    What you see on first page is called the excerpt (short description) of the posts. If you don’t have one set, it’s auto-generated from the post content, but stripped of any html code. You can add your own excerpts with html, from the post edit page.
    If you don’t see the excerpt box in that page, check Screen Options (at the right-top of the post edit page) and make it visible from there.

    @josiah, please try to provide useful and complete answers. You usually reply to questions with other questions and when you do answer it’s either too general or too vague to provide real assistance. It’s great that you want to help, but make sure you do help.

    @slpearman: you have two ways of going about this:
    1. Register a new footer menu, that’s different from the main menu. You will need to use get_registered_nav_menus to get the list of registered menus for the theme, add a footer menu to the array, and re-register the theme menus with footer menu included, using register nav menus. After registering, you will need to add code for displaying your registered menu by either filtering the output of tc_widgets_footer or tc_colophon_display, depending on where you want to display it. Besides, you’ll need to style it up. Registering a custom menu for a theme is no easy task.
    2. If you only want to add the main menu in the footer, you can use a menu widget from this list and add it in any of the widget areas of the footer.

    As I was writing this I realized there’s a third, simpler method: You can create and save a new menu from your Menus, in Admin. You can than select that menu to display in a footer widget using one of the widgets in the list above (2.).

Viewing 15 replies - 496 through 510 (of 681 total)