Theme customization

  • Posted in : Bloggy WP
  • martianmasai
    Participant

    1. Is the shortcode-generator-content.php the standard naormal content.php that is found in all themes.

    2. this code you posted for removing the hamburger menu worked well for me but it looks a little bit disjointed, its not centered. I have home, about, and contact on the menu.

    @media (max-width: 767px) {
    .main-navigation div.selector { display: none; }
    .main-navigation > ul { display: block; padding: 0; }
    .main-navigation > ul li { padding: 0; }
    .main-navigation ul li a { padding: 4px 16px; padding: 10px 5px ; font-size: 12px; }
    #header-search-link { display: none; }
    }

    ahmetsali
    Keymaster

    Hi, about your question #2 : can you provide your url?

    Mehmet S.
    Keymaster

    #1: It is a special file for this theme.

    martianmasai
    Participant

    So there is no content.php file

    Mehmet S.
    Keymaster

    There isn’t any content.php file.

    martianmasai
    Participant

    I need to add this code to the theme. http://thingsofinterest.com/2013/11/17/custom-title-links-wordpress/#disqus_thread. Is it possible.

    martianmasai
    Participant

    The code in the above link needs to be added to a content.php, since you don’t have one you need to find a solution for me.

    Mehmet S.
    Keymaster

    For which page do you want to make this change?

    martianmasai
    Participant

    I want the changes to applied to every single post I publish.

    Mehmet S.
    Keymaster

    You can find the the_title() function in the single post file.

    Are you using the sidebar for single post page?

    – if yes, open this file:

    post-sidebar.php

    – if no, open this file:

    post-nosidebar.php

    martianmasai
    Participant

    My conern is that the theme doesn’t have a content.php file. I have not raised any questions about the single post file. How do I implement this strategy.

    Mehmet S.
    Keymaster

    content.php is a file name. File name is not important at this point. The important thing is the function name and it is the the_title().

    I checked the url you provided above. It says:

    – there is a content.php for blog page and content-single.php for post page in the theme of the author in the post.

    – there are three files for blog page and two files for post page in the Bloggy theme:

    Files for blog page:

    – blog-sidebar.php

    – blog-nosidebar.php

    – blog-masonry.php

    Files for post page:

    – post-sidebar.php

    – post-nosidebar.php

    You need to edit these files. Open a file and find the the function the_title() then implement the changes in the tutorial in the link you provided.

    martianmasai
    Participant

    I want to add the code in the link above to,

    blog-nosidebar.php
    and
    post-nosidebar.php

    The function for the tile is not in the blog-nosidebar.php although I found it in the post-nosidebar.php file. I don’t want to mess things up. Could please assist. I want to add the code into custom version of the files, like a child theme so that I wont loose the changes when there’s an update for the theme. I hope this makes sense.

    Mehmet S.
    Keymaster

    Some part of the blog-nosidebar.php comes from format-standard.php.

Viewing 14 posts - 1 through 14 (of 14 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register