sanjeevbhatt
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Parse error: syntax error, unexpected T_FOR :-plzzzzzzz helpplzzzzzzzzzz help people
Forum: Fixing WordPress
In reply to: Parse error: syntax error, unexpected T_FOR :-plzzzzzzz helpthe erorror is
Parse error: syntax error, unexpected T_FOR in C:\wamp\www\wordpress\wp-content\themes\twentyeleven\content.php on line 70and the code is
<?php /** * The default template for displaying content * * @package WordPress * @subpackage Twenty_Eleven * @since Twenty Eleven 1.0 */ ?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <header class="entry-header"> <?php if ( is_sticky() ) : ?> <hgroup> <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2> <h3 class="entry-format"><?php _e( 'Featured', 'twentyeleven' ); ?></h3> </hgroup> <?php else : ?> <h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1> <?php endif; ?> <?php if ( 'post' == get_post_type() ) : ?> <div class="entry-meta"> <?php twentyeleven_posted_on(); ?> </div><!-- .entry-meta --> <?php endif; ?> <?php if ( comments_open() && ! post_password_required() ) : ?> <div class="comments-link"> <?php comments_popup_link( '<span class="leave-reply">' . __( 'Reply', 'twentyeleven' ) . '</span>', _x( '1', 'comments number', 'twentyeleven' ), _x( '%', 'comments number', 'twentyeleven' ) ); ?> </div> <?php endif; ?> </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>', 'twentyeleven' ) ); ?> <?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 'after' => '</div>' ) ); ?> </div><!-- .entry-content --> <?php endif; ?> <footer class="entry-meta"> <?php $show_sep = false; ?> <?php if ( 'post' == get_post_type() ) : // Hide category and tag text for pages on Search ?> <?php /* translators: used between list items, there is a space after the comma */ $categories_list = get_the_category_list( __( ', ', 'twentyeleven' ) ); if ( $categories_list ): ?> <span class="cat-links"> <?php printf( __( '<span class="%1$s">Posted in</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-cat-links', $categories_list ); $show_sep = true; ?> </span> <?php endif; // End if categories ?> <?php /* translators: used between list items, there is a space after the comma */ $tags_list = get_the_tag_list( '', __( ', ', 'twentyeleven' ) ); if ( $tags_list ): if ( $show_sep ) : ?> <span class="sep"> | </span> <?php endif; // End if $show_sep ?> <span class="tag-links"> <?php printf( __( '<span class="%1$s">Tagged</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); $show_sep = true; ?> </span> <?php endif; // End if $tags_list ?> <?php endif; // End if 'post' == get_post_type() ?> <?php if ( comments_open() ) : ?> <?php if ( $show_sep ) : ?> <span class="sep"> | </span> <?php endif; // End if $show_sep ?> <span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?></span> <?php endif; // End if comments_open() ?> <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?> </footer><!-- #entry-meta --> </article><!-- #post-<?php the_ID(); ?> -->
Forum: Fixing WordPress
In reply to: changes on the home pageHi ,
thanks for the reply.
i am building a site that has navigation menu likehome…… abt us….. news….. contact
Now , i want some recent news from page “news” to display on the right side of the page “home “. That’s it . this is my query .
How doi do that .
I already have some text on home page
Thanks
Forum: Fixing WordPress
In reply to: changes on the home pagethanks but this is not that i require ….i need information regarding how i can put some info the right side of the home page .
I have already read all that information.
Forum: Fixing WordPress
In reply to: reduce space between page title and body textsorry to say but u r not understanding what i am trying to say ….if u know how to reduce the space then tell me the code otherwise dont reply
Forum: Fixing WordPress
In reply to: reduce space between page title and body texti gave example of the above link to show the space that i want to reduce similar in my them
Forum: Fixing WordPress
In reply to: reduce space between page title and body texti am using twentyeleven theme . the links are only example of what i want.
Forum: Fixing WordPress
In reply to: reduce space between page title and body textthis code will be in stylesheet?
sorry,but i cannot find the code
Forum: Fixing WordPress
In reply to: use plugin subpages …URGENT::::::::::::::::::i agree i do not need a plugin but how do i do this .
pls look https://mindehoej.web.surftown.dk/wordpress/?page_id=19
in this kontact page has two submenus
test 1
test 2My test 1 and test 2 are visible when i hover my mouse over kontact .
i want them to be visible permanently.
Forum: Fixing WordPress
In reply to: reduce space between page title and body textcan u be more precise what exactly be the code i mean where in style sheet . i am a newbie
thanks
Forum: Fixing WordPress
In reply to: use plugin subpages …URGENT::::::::::::::::::how do i make my submenus visible on website . they are visible when we hover over the page title on navigation bar .
i want the submenus to be vissible on the main page left side .
Thanks for helpping me .
Forum: Fixing WordPress
In reply to: reduce space between page title and body textthanks .
my site is still not published .for eg if u see https://mindehoej.web.surftown.dk/wordpress/
the space between “Forside” and text “Mindeh?jskolen etableredes i 1997 som en friskole uden statstilskud. I begyndelsen var skolen knyttet til et opholdssted.”
This is the space in between i am talking abt.
Forum: Fixing WordPress
In reply to: The “More” Tag on a WordPress PageThank you guys for the help . My page.php has the following code :-
<?php /** * The template for displaying all pages. * * This is the template that displays all pages by default. * Please note that this is the WordPress construct of pages * and that other 'pages' on your WordPress site will use a * different template. * * @package WordPress * @subpackage Twenty_Eleven * @since Twenty Eleven 1.0 */ get_header(); ?> <div id="primary"> <div id="content" role="main"> <?php the_post(); ?> <?php get_template_part( 'content', 'page' ); ?> <?php comments_template( '', true ); ?> </div><!-- #content --> </div><!-- #primary --> <?php get_footer(); ?>
where exactly do i need to place the code .pardon me if i ask stupid questions as i am new to this coding world .
my website has the following pages in the order
home—— about us—— team—– news—— contact us
Now in the tab “news” i got the following
date1 — heading 1
date2 —heading 2
date3 — haeding 3I want to add more tag at the end of headings 1,2,3. only on this page
I hope i am clear this time and able to explain the query more elaborately.
Thanks once again
Forum: Themes and Templates
In reply to: IE9 issue… only on some PCs. Can somebody please check?hello mac man ,
please contact me , i have few questions regarding ur website that u made using wordpress . i am also making a similar one and have questions regarding the logo in the header part .
sanjeev