![]() |
|
Home | Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
Thread Tools | Search this Thread | Display Modes |
#21
|
|||
|
|||
![]() Hi All:
I've found a couple solutions for those who are using Suffusion ... The first is a global solution: it removes ALL page titles from ALL posts and pages, which may be undesirable if you want to keep your titles on your blog posts. Within Suffusion Options, go to 'back end settings' and choose the 'custom includes' tab. In the 'css box' add this code: h1.posttitle { display: none; } h1.posttitle { padding-top: 0; } As mentioned, this removes all h1 titles from all pages & posts. A better solution is to edit the page, and scroll down to "additional options for suffusion" and tick the box "do not display the page title." You'll need to do this for each page you do not want to display a title ... but that's probably only a handful of static pages (in my case: home, store, contact, about ... just the ones where a page title seems redundant. Eric: Just as an aside, I tried your technique from the video, just using a space instead of page title within WP editor. That caused 'store' to disappear from my nav-menu (replaced with a space). I'm sure I could have fixed that within permalinks & page display in navbar in menu settings, but I wanted to pursue getting 'home' and 'contact' etc removed from page titles as well. Hope that helps! MarkZ |
#22
|
||||
|
||||
![]() Thanks for sharing, MarkZ!
__________________
![]() ![]() ![]() ![]() |
#23
|
|||
|
|||
![]() Hi Eric,
I tried the following as a function, but it removed all my H1 tags from the posts and pages? What is the proper way to write this function? Code:
add_filter( 'genesis_post_title_output', 'remove_store_title' ); function remove_store_title() { if (!is_dfr()) echo '<h2 class="entry-title"><?php the_title(); ?></h2>'; else echo '<h1 class="entry-title"><?php the_title(); ?></h1>'; } |
#24
|
||||
|
||||
![]() Hi
I don't have a StudioPress theme to test on but maybe something like this found here: PHP Code:
__________________
![]() ![]() ![]() ![]() |
#25
|
|||
|
|||
![]() Store ID: 15cnzotwcpsmvg0q
Website URL: myshoppingtime.net URL to page in question: myshoppingtime.net Hello Eric, Even with this informations I don't get it. Here is the page.php for Estore theme. Don't know what to change. PHP Code:
|
#26
|
||||
|
||||
![]() Try this:
PHP Code:
__________________
![]() ![]() ![]() ![]() |
#27
|
|||
|
|||
![]() Hello,
Thanks for you prompt reply. Normaly the default page is the page.php, right? So if I modify it, like you give it, nothing change... |
#28
|
||||
|
||||
![]() Hi
What page template have you chosen for the "Store" page to use? Eric
__________________
![]() ![]() ![]() ![]() |
#29
|
|||
|
|||
![]() |
#30
|
||||
|
||||
![]() Can you paste the contents of the includes/single-product file here?
__________________
![]() ![]() ![]() ![]() |
#31
|
|||
|
|||
![]() here it is: http://www.screencast.com/t/SC8OlauXvu
|
#32
|
||||
|
||||
![]() Quote:
HTML Code:
<h1 class="title"><?php the_title(); ?></h1> HTML Code:
<?php if (!is_dfr()) : ?><h1 class="title"><?php the_title(); ?></h1><?php endif; ?>
__________________
![]() ![]() ![]() ![]() |
#33
|
|||
|
|||
![]() still not that...sorry about this complicated theme...
|
#34
|
||||
|
||||
![]() Can you share a screenshot of exactly what we are trying to remove?
__________________
![]() ![]() ![]() ![]() |
#35
|
|||
|
|||
![]() |
#36
|
||||
|
||||
![]() So you're trying to remove the "Added" text?
__________________
![]() ![]() ![]() ![]() |
#37
|
||||
|
||||
![]() I would probably remove all of the following code form the single-product.php file:
HTML Code:
<div class="product-info"> <h1 class="title"><?php the_title(); ?></h1> <?php if (get_option('estore_postinfo2') <> '') { ?> <p class="post-meta"><?php esc_html_e('Added','eStore'); ?> <?php if (in_array('date', get_option('estore_postinfo2'))) { ?> <?php esc_html_e('on','eStore') ?> <?php the_time(get_option('estore_date_format')) ?><?php }; ?> <?php if (in_array('categories', get_option('estore_postinfo2'))) { ?> <?php esc_html_e('in','eStore'); ?> <?php the_category(', ') ?><?php }; ?></p> <?php }; ?> <div class="clearfix"> <?php if ($et_price <> '') { ?> <span class="price-single"><span><?php echo esc_html($et_price); ?></span></span> <a href="#" class="addto-cart"><span><?php esc_html_e('Add to cart','eStore'); ?></span></a> <?php }; ?> </div> <div class="description"> <p><?php echo($et_description); ?></p> </div> <!-- .description --> </div> <!-- #product-info -->
__________________
![]() ![]() ![]() ![]() |
#38
|
|||
|
|||
![]() A big Thanks for your Help Eric!
|
#39
|
|||
|
|||
![]() I don't see this within my theme Origin (hersportsgear.net)?
|
#40
|
||||
|
||||
![]() Hi
Try changing this: PHP Code:
PHP Code:
Eric
__________________
![]() ![]() ![]() ![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|