Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Montezuma Theme »

[SOLVED] Hide title


  #1  
Old May 5, 2013, 10:52 AM
vibhor's Avatar
vibhor
 
15 posts · May 2013
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.
  #2  
Old May 5, 2013, 12:34 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
what is the URL of the site?

Last edited by juggledad; May 5, 2013 at 01:40 PM.
  #3  
Old May 5, 2013, 01:00 PM
vibhor's Avatar
vibhor
 
15 posts · May 2013
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.
  #4  
Old May 5, 2013, 01:42 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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

Last edited by juggledad; May 6, 2013 at 10:40 AM.
  #5  
Old May 5, 2013, 02:04 PM
vibhor's Avatar
vibhor
 
15 posts · May 2013
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 ?
  #6  
Old May 5, 2013, 03:57 PM
jerryc
 
367 posts · Oct 2012
Florida
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(); ?>
and its associated formatting and link code, which is probably everything from <h1> to </h1>, inclusive. As juggledad said, experiment until you get what you want.

Last edited by jerryc; May 5, 2013 at 11:17 PM.
  #7  
Old May 5, 2013, 05:25 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
@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.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #8  
Old May 5, 2013, 09:20 PM
vibhor's Avatar
vibhor
 
15 posts · May 2013
@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.
  #9  
Old May 5, 2013, 09:36 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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.
  #10  
Old May 5, 2013, 09:48 PM
vibhor's Avatar
vibhor
 
15 posts · May 2013
@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.
Attached Files
File Type: zip webpage.zip (66.7 KB, 1922 views)
  #11  
Old May 5, 2013, 09:55 PM
vibhor's Avatar
vibhor
 
15 posts · May 2013
@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 ?
  #12  
Old May 5, 2013, 10:10 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
There are many ways to fix an issue like this try different ones and see which one you think is best
  #13  
Old May 5, 2013, 10:23 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
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">
<h1>
<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" rel="bookmark"><?php the_title(); ?></a>
<?php bfa_comments_number(); ?>
</h1>
</div>			
}
Then you would use CSS similar to the following to remove the title
HTML Code:
.page-title {
display: none;
}
If you only want the title removed from a particular page you would need to add the page ID to the CSS to target that one page.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #14  
Old May 6, 2013, 10:54 AM
vibhor's Avatar
vibhor
 
15 posts · May 2013
@ lmilesw : thanks a lot ! You made my day .. . this helped me a lot and solved my problem ..
Thank You once again..

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How do you hide the site title under a header image? plantdevotion Montezuma Theme 2 Oct 17, 2012 01:27 PM
hide title on specific pages lambdaka Center area post/pages 0 Jul 10, 2010 10:25 AM
How do you suppress/hide title tags in widgets? Wyro Sidebars & Widgets 2 Feb 28, 2010 06:05 PM
Cannot hide blog title even though "Show Blog Title?" is checked..... leshall Header configuration & styling 0 Jan 26, 2010 01:50 PM
Hide sticky ( title ) on "Recent post" sidebar nautilus Post-Kicker, -Byline & -Footer 0 Dec 19, 2009 07:41 PM


All times are GMT -6. The time now is 10:17 PM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.