![]() |
|
Home | Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
Thread Tools | Search this Thread | Display Modes |
#41
|
|||
|
|||
![]() Eric,
It didn't work. It just changed "STORE" from grey to black. I left it up for you to see. |
#42
|
||||
|
||||
![]() Maybe try this instead of what I initially said:
PHP Code:
__________________
![]() ![]() ![]() ![]() |
#43
|
|||
|
|||
![]() it worked. thank you.
|
#44
|
|||
|
|||
![]() Hey Eric
Looks like in this latest release of this theme they have changing the coding in this file. Code:
<?php /** * The default template for displaying content. Used for both single and index/archive/search. * * @package WordPress * @subpackage Twenty_Twelve * @since Twenty Twelve 1.0 */ ?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <?php if ( is_sticky() && is_home() && ! is_paged() ) : ?> <div class="featured-post"> <?php _e( 'Featured post', 'twentytwelve' ); ?> </div> <?php endif; ?> <header class="entry-header"> <?php the_post_thumbnail(); ?> <?php if ( is_single() ) : ?> <h1 class="entry-title"><?php the_title(); ?></h1> <?php else : ?> <h1 class="entry-title"> <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a> </h1> <?php endif; // is_single() ?> <?php if ( comments_open() ) : ?> <div class="comments-link"> <?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentytwelve' ) . '</span>', __( '1 Reply', 'twentytwelve' ), __( '% Replies', 'twentytwelve' ) ); ?> </div><!-- .comments-link --> <?php endif; // comments_open() ?> </header><!-- .entry-header --> <?php if ( is_search() ) : // Only display Excerpts for Search ?> <div class="entry-summary"> <?php the_excerpt(); ?> </div><!-- .entry-summary --> <?php else : ?> <div class="entry-content"> <?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentytwelve' ) ); ?> <?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'twentytwelve' ), 'after' => '</div>' ) ); ?> </div><!-- .entry-content --> <?php endif; ?> <footer class="entry-meta"> <?php twentytwelve_entry_meta(); ?> <?php edit_post_link( __( 'Edit', 'twentytwelve' ), '<span class="edit-link">', '</span>' ); ?> <?php if ( is_singular() && get_the_author_meta( 'description' ) && is_multi_author() ) : // If a user has filled out their description and this is a multi-author blog, show a bio on their entries. ?> <div class="author-info"> <div class="author-avatar"> <?php echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'twentytwelve_author_bio_avatar_size', 68 ) ); ?> </div><!-- .author-avatar --> <div class="author-description"> <h2><?php printf( __( 'About %s', 'twentytwelve' ), get_the_author() ); ?></h2> <p><?php the_author_meta( 'description' ); ?></p> <div class="author-link"> <a href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author"> <?php printf( __( 'View all posts by %s <span class="meta-nav">→</span>', 'twentytwelve' ), get_the_author() ); ?> </a> </div><!-- .author-link --> </div><!-- .author-description --> </div><!-- .author-info --> <?php endif; ?> </footer><!-- .entry-meta --> </article><!-- #post --> |
#45
|
||||
|
||||
![]() For the TwentyTwelve (2012 / Twenty Twelve) theme, you would replace this:
HTML Code:
<?php if ( is_single() ) : ?> <h1 class="entry-title"><?php the_title(); ?></h1> <?php else : ?> <h1 class="entry-title"> <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a> </h1> <?php endif; // is_single() ?> HTML Code:
<?php if ( is_single() ) : ?> <?php if (!is_dfr()) : ?><h1 class="entry-title"><?php the_title(); ?></h1><?php endif; ?> <?php else : ?> <?php if (!is_dfr()) : ?><h1 class="entry-title"> <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a> </h1><?php endif; ?> <?php endif; // is_single() ?>
__________________
![]() ![]() ![]() ![]() |
#46
|
|||
|
|||
![]() Quote:
|
#47
|
|||
|
|||
![]() Could you help me remowe the "store" in the Prana theme
page php. looks like this <?php get_header(); ?> <div class="container_16 clearfix"> <div class="grid_12"> <div id="content"> <?php if ( have_posts() ) : ?> <?php while ( have_posts() ) : the_post(); ?> <?php get_template_part( 'content', 'page' ); ?> <?php endwhile; ?> <?php else : ?> <?php get_template_part( 'loop-error' ); ?> <?php endif; ?> </div> <!-- end #content --> </div> <!-- end .grid_12 --> <?php get_sidebar(); ?> </div> <!-- end .container_16 --> <?php get_footer(); ?> |
#48
|
||||
|
||||
![]() Hi,
You don't make that change in that page. You need to find the content-page.php file. Eric
__________________
![]() ![]() ![]() ![]() |
#49
|
|||
|
|||
![]() Ok thanks, this is the content php, can you help me how to change it, so it hides the "store"
PHP Code:
Last edited by Eric : May 7th, 2013 at 03:09 PM. Reason: added formatting. |
#50
|
||||
|
||||
![]() Hi,
Change this: HTML Code:
<h1 class="<?php echo $entry_title; ?>"><?php the_title(); ?></h1> HTML Code:
<?php if (!is_dfr()) : ?><h1 class="<?php echo $entry_title; ?>"><?php the_title(); ?></h1><?php endif; ?>
__________________
![]() ![]() ![]() ![]() |
#51
|
|||
|
|||
![]() Thanks!!!
|
#52
|
|||
|
|||
![]() If you are using the Graphene theme there are two steps:
First, remove the title from the page as shown in the video. Next edit the loop-page.php Replace: <?php /* Post title */ ?> <h1 class="post-title entry-title"> <?php if ( get_the_title() == '' ) { _e( '(No title)', 'graphene' ); } else { the_title(); } ?> <?php do_action( 'graphene_page_title' ); ?> </h1> with <?php /* Post title */ ?> <h1 class="post-title entry-title"> <?php if ( get_the_title() == '' ) { _e( '', 'graphene' ); } else { the_title(); } ?> <?php do_action( 'graphene_page_title' ); ?> </h1> and all is good Cheers Rowan |
#53
|
||||
|
||||
![]() Thanks for sharing, Rowan!
__________________
![]() ![]() ![]() ![]() |
#54
|
|||
|
|||
![]() dear eric,
i am using the evolve theme. It is a free theme. there is no page.php file, there is only index.php. but the code is confusing for me. I am not able to do the necessary modifications, to remove the word - "store" - from all the pages, store front page, as well as all the catagory pages. Please note - i have tried the esier method (of removing the word "store" from the page title, but it has not worked. the resultant effect was that - all the pages showed up with header saying - "untitled". Am attaching the source code of the index .php file here. please help me out with necessary modifications - so that i can do the necessary changes in my index.php file my store id is - 19s9znp2khx8eqt9 regards manish shah |
#55
|
||||
|
||||
![]() Hi,
Welcome to the forums! Yeah, that one is a little trickier. Here's how to do it. In the index.php file look for this section: PHP Code:
PHP Code:
Eric
__________________
![]() ![]() ![]() ![]() |
#56
|
|||
|
|||
![]() hey eric,
its really worked thank you so much for that. Special thanks for the faster reply. regards manish shah. |
#57
|
|||
|
|||
![]() Quote:
Last edited by rfrigge : October 3rd, 2014 at 09:13 PM. |
#58
|
|||
|
|||
![]() Humongousmall.com
How do I change "Store" to a specific store name from the front pages in my WP TwentyFourteen theme? |
#59
|
||||
|
||||
![]() Hi
Just edit the WordPress Page "Store" and change the Page title to a specific store name. Eric
__________________
![]() ![]() ![]() ![]() |
#60
|
|||
|
|||
![]() Nearly didn't read this thread when I saw how long ago it was started. But what a gemful of glittering solutions!
![]() Rapt to find Graphene theme's solution here, as we're using it with Datafeedr right now. Thanks to Rowan & rfrigge for championing Graphene, hey. ![]() And I've done your tweak, fixing this small but long-standing annoyance. Now I'm much happier. |
Thread Tools | Search this Thread |
Display Modes | |
|
|