-
Posted in : Bloggy WP
-
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; }
}Hi, about your question #2 : can you provide your url?
So there is no content.php file
I need to add this code to the theme. http://thingsofinterest.com/2013/11/17/custom-title-links-wordpress/#disqus_thread. Is it possible.
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.
I want the changes to applied to every single post I publish.
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
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.
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.
I want to add the code in the link above to,
blog-nosidebar.php
and
post-nosidebar.phpThe 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.
You must be logged in and have valid license to reply to this topic.