[SOLVED] Hide title
Hi, I am new to wordpress with minimum knowledge about php. I am building a website using the Montezuma theme. The theme is amazing, but I have spent almost two days just to remove a page title with no success.
Please help me , how can I hide my page title in this theme. |
what is the URL of the site?
|
Thanks a lot for the reply.
my site url is http://webdragon.uni.me/ I have just started making it and as you can see , there isnt much content yet. But at my static home page, you can see the "Home" title which is driving me nuts. Please guide me , how can i remove it. |
well you could hide it with CSS (use firebug to determind the CSS to use) or
ou could edit the vitrual template and remove it from showing on any page |
ohh...ok
please tell me the easier way coz i am a toddler when it comes to wordpress.. I dont know about CSS but I think i can do it by the virtual template method, i have a bleak knowledge about the template hierarchy. Since this theme does not have a front-page.php template, so should I make some changes in page.php and if so, what change should I do ? |
Your home page has the word home in 3 places, the menu, the breadcrumbs, and in the content. I'm guessing it's the one in the content you want to remove.
You can make a front-page.php template and set that for your home page. Juggledad suggested I do that and it worked great for me. Copy page.php or whatever else that's closest to what you want. You can remove the title from it. Take out: HTML Code:
<?php the_title(); ?> |
@vibhor... Did you try a search on wordpress.org for a plugin to do what you want?
I just did a search and found this plugin. Before I recommend a plugin I like to test and so I installed this (and a couple of other plugins) to see if it worked. The others didn't but this one did in my tests. I can't always take the time to search, test, and suggest so taking the time to search on wordpress.org is often your best first step. To make it worth the time it took though I would like to know if you did or didn't search for a plugin and if not why didn't you? Is it because you didn't know about plugins or just didn't want to take the time? Knowing the why would help in better understanding how we can fine tune our support process. |
@jerryc : Actually I was a bit hesitant earlier in changing/modifying the theme templates. I read somewhere that for Montezuma , you can either edit the title part in the page.php or yo can make a front-page.php with things you want.
- I edited the page.php ( copy-pasting codes of similar problems, but I guess I am wrong somewhere). - I also made a front-page.php template , but I had no clue what to code in it. |
add a virtual templae 'front-page.php', copy the content of the 'page.php' virtual template into it. Make your changes there. Experiment, take different chuncks of code out and see what they do, play a bit, it is the best way to learn.
If you mess the template up, you can always copy 'page.php' back in and start over. |
1 Attachment(s)
@lmilesw : Yes I knew about the plugins, and in fact I was using this plugin but it was of no use.
I used the 'Disable Title' plugin that you suggested me. Well it worked great for me, but in the breadcrumbs I am getting a blank space. Can I do anything about it. I dont want it. Below is a zip file that contains a screenshot of my homepage and the thing I dont want (To make a bit more clear). I am sorry I am being so fussy, but I really need to fix this. |
@juggledad : the plugin worked good for me, but now I am getting a blank space in the breadcrumbs where the title of the page stood earlier.
Can I fix that without coding or should I finally start off with the front-page.php and work on it ? |
There are many ways to fix an issue like this try different ones and see which one you think is best
|
Or you could perhaps just use CSS... and a tweak to the virtual page.php template. You would first wrap the appropriate line in a div like the following.
HTML Code:
<div class="page-title"> HTML Code:
.page-title { |
@ lmilesw : thanks a lot ! You made my day .. :). this helped me a lot and solved my problem ..
Thank You once again.. |
All times are GMT -6. The time now is 08:57 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.