twentyeleven_content_nav hook no longer outputs navigation link after 3.5 upgrade

After upgrading to 3.5, I discovered that navigation has disappeared outside of the main index page. Theme is TwentyEleven and I've verified that this still occurs after disabling all plugins. <?php if ( $wp_query->have_posts() ) : ?> <?php twentyeleven_content_nav( 'nav-above' ); ?> <?php /* Start the Loop */ ?> <?php while ( $wp_query->have_posts() ) : $wp_query->the_post(); ?> <?php get_template_part( 'content-beers', get_post_format() ); ?> <?php endwhile; ?> <?php wp_reset_query(); ?> <?php twentyeleven_content_nav( 'nav-below' ); ?> Live site page
Category: Web

How to Remove all Instances of edit_post_link

Can someone please assist with how to remove from my theme, whilst in author mode, the edit_post_link (Edit link), throughout all my pages. Which php files in the Twenty Eleven theme (WordPress v3.2) do I need to comment out to no longer display this edit link? I realise that you only see this during author mode but would like to know how to remove altogether. Thanks.
Category: Web

How to override excerpt length in child theme of Twenty Eleven?

my objective is to define a custom excerpt length. I know that I can do it defining a new function in my functions.php located in the child theme of the Twenty Eleven. It should override these lines : /** * Sets the post excerpt length to 40 words. * * To override this length in a child theme, remove the filter and add your own * function tied to the excerpt_length filter hook. */ function twentyeleven_excerpt_length( $length ) { return …
Category: Web

How to properly create a child theme

I would like to create a child theme based on the twentyeleven theme. I understand how to create my own styles.css file to work for my child theme. I would also like to create my own custom header.php index.php footer.php functions.php files. My question is what information do I need to have placed in the header of each file. Currently the copied index.php file has: /** * The main template file. * * @package WordPress * @subpackage Twenty_Eleven */ Since …
Category: Web

How do I show how many products are remaining from the bought package

I am new to this. What I want to do is create a package that gives the customer liberty to buy 10 of any of my product at anytime. Now when a user buys this package I want my site to show him that there are 10 products he can buy and when he buys any of the product the number of the products remaining will be deducted by the amount of the product he buys. for E.g If he …
Category: Web

How do you add a custom excerpt length in twenty eleven child theme?

I have a problem displaying custom excerpt length. I've searched for a solution on wordpress stackexchange and found this: remove_filter( 'excerpt_length', 'twentyeleven_excerpt_length' ); add_filter('excerpt_length', 'new_excerpt_length'); function new_excerpt_length($length) { return 50; } When adding this to functions.php I still get the same 3 line excerpt as before. If I change the return statement to something else like, return 8 or return 17, I still get the same excerpt as before. The excerpt function is inserted into content.php like this: <div class="entry-content"> …
Category: Web

How do I override template-tags.php in twentyseventeen theme

I created a child theme from the TwentySeventeen theme and it seems to work. I can override the content.php file by creating a matching folder and my own content.php in my child theme. /template-parts/post/content.php ...Works fine. However, I tried to do the same thing to override the metta tags in the header of a single post by doing the following /inc/template-tags.php ...and the functions in template-tags.php (eg. twentyseventeen_posted_on() ) are -not- overriding the main theme's version as I expected. What …
Category: Web

How to Edit the style of header title of Twenty Eleven Theme?

I would like to change the style of Twenty Eleven theme's site title and site description. I tried with style.css file but nothing happens when I refresh the website in a browser. Then I found the main style is already given in index file 58 no line but I did not find any 58 no line in index.php. Below I attached a screenshot of this please somebody help me out.
Category: Web

Twenty Eleven Theme - SEO Yoast duplicate site titles

I'm using a Twenty Eleven Theme with the SEO Yoast Plugin and I have encountered that once the plugin is installed, duplicate site titles appear on my site, like this: <title>Home | beethetravelerbeethetraveler | a life journey</title> I googled and found a fix with editing the header.php and replace everything in between the <title>…</title> with the following. <title><?php wp_title(''); ?></title> My header.php looks like the following: wp_title( '|', true, 'right' ); So I'm not sure how to do it. Can …
Category: Web

Two scrollbars in popup window

I've got an issue with the popup windows that display when I click on the book cover images(from a widget) in my sidebar: there are two vertical scrollbars instead of one. Any idea why this is happening and how I may get rid of one of the scrollbars? Here's a screenshot: Here's my site: WordPress Blog
Category: Web

Is Twenty Eleven Theme Responsive ? any update?

Someone asked me to make his site theme mobile friendly, and he gave me his theme which is Twenty Eleven theme. I want to know is this theme mobile friendly at all of has some bugs on mobile displays ? Also is any recent updates to this theme, or will be in near future ? because I want to know if I want to make it responsive, should I make my changes as a child theme ? what’s the best …
Category: Web

Chat window hiding behind Twenty Eleven header

I use the Chat plugin, but I found a bug when using it with the Twenty Eleven theme in WordPress 3.2. If you scroll, the chat window goes behind the header image. I used this plugin with no problems up to WordPress 3.1.4, and it works find in 3.2 - except for this problem. I guess the z-index is the reason, but I am not sure about that.
Category: Web

Creating a second menu on Twenty Eleven aligned right from the first

I'm a bit new here. But I did attempt to Google this (etc.), without much luck. Basically, I'm trying to set up a second menu on Twenty Eleven that will line up to the right of the normal one (while keeping the normal one). In other words, something like this: |Home | First_Page | Second_Page | . . . (empty space) . . . | 2nd-to-last-page | Last page Is there a relatively simple way to do that? I've gotten …
Category: Web

making my own "related pages" / "pages you might like" section

I'm trying to get the tags of a post on the single content page and displaying a list of other articles that share the tags with the post. For example, the user is reading an article with a tag like 'game'; I want to display the titles of other articles that share the tag 'game'. I'm basically trying to make my own "related pages" section. How would I do this without using a plugin and which PHP file does the …
Category: Web

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.