maqtanim
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Twenty Eleven] How can I add "Continue reading…" automatcally?Thank you both. I followed the alchymyth‘s suggestion and it worked like a charm. Thanks.
But is there any way so that I can change the number of the character displayed before ‘Continue Reading …’ button? The default number of character is too less for me. Using to this information, I tried to change the default number of characters by adding the following codes in my child theme’s function.php
function new_excerpt_length($length) { return 20; } add_filter('excerpt_length', 'new_excerpt_length');
But it doesn’t work. (I am not a coder/programmer, so I am not sure whether I did it right).
Looks like I’ve found a solution. Thanks Kevin Muldoon for helping me out. If anyone wants to do the same as me, then please follow the instructions here.
*bump*
Can anyone please help me or provide codes to create a page template for displaying new sidebars for Twenty Eleven theme?
Thanks in advance.
Forum: Themes and Templates
In reply to: [Twenty Eleven] How can I show the default Showcase page?Hi typolay, Thanks for the reply.
I didn’t find any “Post Thumbnail” option in my twentyeleven theme. There is a “Featured Image” option but it is not working for me. In the showcase page, only the post without the images are appearing. Help me out please! ??
And can anyone please tell me how to show the default black ‘Continue Reading…’ button on showcase?
Thank you all.
Forum: Themes and Templates
In reply to: [Twenty Eleven] How can I show the default Showcase page?Is anyone facing the same problem?
BTW I am using a LAMP localhost for the testing (I’ve installed it for the first time of my life). I am totally novice in this field. So I am not sure whether the localhost/LAMP is the reason for not displaying the showcase page properly or is there any problem with the code.
Thanks dragonsjaw! You understood my problem perfectly. And I too understand your solution. But that’s what I was afraid of. ?? I am not familiar with the php codings (infact I am not a programmer or developer). Can anyone please help me to create a page template for displaying new sidebars for Twenty Eleven theme?
Thanks in advance.
Did you save it as the name style.css? You have to save this style.css in the new directory (in your case the directory is custom).
If this doesn’t work, can you please copy the following codes and paste it to the newly created style.css without any modification and observe the result?
/* Theme Name: Custom Author: Me Template: twentyeleven */ @import url("../twentyeleven/style.css");
Never mind, I’ve solve it. For those who want to do the change like me, you can do it by inserting the following code:
blockquote { position:relative;} blockquote:before { content:"\201C"; position:absolute; font-size:3em; line-height:1; left:-1.0em; top:0; color:#999;} blockquote:after { content:"\201D"; position:absolute; font-size:3em; line-height:1; right:-.5em; bottom:-.55em; color:#999;}
*bump*
Can anyone help me to put the inverted commas in right position, please?Forum: Themes and Templates
In reply to: [Twenty Eleven] How to put small icon under the search bar?At last I solved the problem… I put the following code onside
<hgroup>
tag (just between the<h1>
and<h2>
)<div align="right"> <a href="https://twitter.com/maqtanim" title="Follow me in twitter" target="_blank"><img src="https://www.adnan.quaium.com/wp-content/images/twit.png"></a> <a href="https://feedburner.google.com/fb/a/mailverify?uri=maqtanim&loc=en_US" title="Subscribe for getting automatic posts update via email" target="_blank"><img src="https://www.adnan.quaium.com/wp-content/images/mail.png"></a> </div>
Now everything is in position in the header section. So I am going to mark this thread as resolved.
BTW … can anyone please help me in this matter?
Forum: Themes and Templates
In reply to: [Twenty Eleven] How to put small icon under the search bar?Well … I’ve solve this problem a little bit. In the child theme, in the header.php, I put the following code:
<div align="right"> <a href="https://twitter.com/maqtanim" title="Follow me in twitter" target="_blank"><img src="https://www.adnan.quaium.com/wp-content/images/twit.png"></a> <a href="https://feedburner.google.com/fb/a/mailverify?uri=maqtanim&loc=en_US" title="Subscribe for getting automatic posts update via email" target="_blank"><img src="https://www.adnan.quaium.com/wp-content/images/mail.png"></a> </div>
I’ve put the above code inside the
<body <?php body_class(); ?>>
tag. To be precisely, the code have been placed in between the lines</hgroup>
and<?php $header_image = get_header_image();
. The result is this one.As you can see from this image that, the icons are not aligned with the search box. Also they are too far from the search bar, which makes a huge gap between the search box and the icons. What I want is to place the icons just below the search box and right aligned with the search box. To be precisely I want the icons like this picture.
Please help me out.
I’ve able to put inverted commas in the both sides of block quote … well sort of. I’ve put the following codes in the style.css of the child theme:
blockquote:before {content:"\201C"; position:left; font-size:3em; } blockquote:after {content:"\201D"; position:right; font-size:3em; }
The result is shown in this screenshot. As you can see, both the top and bottom inverted commas are placed very far from the quoted text. Top one is placed in a much higher position and the bottom one is placed in a much lower position. As a result, there is a huge gap between the commas and the quoted text. I want to minimize the gap, and put the starting commas at the left of the word ‘Some’ and put the closing commas at the right side of the word ‘web home’. To be precisely, I want this type of format.
Please help me to do this.
Forum: Themes and Templates
In reply to: [Twenty Eleven] How to put small icon under the search bar?Thanks for the reply. Actually I’ve created a child-theme and trying to edit that child theme in my computers’ LAMP server. Once it is done I’ll upload it to my hosting.
Can any one please help me in this regard?
Thank you.
Thanks for the reply. Actually I’ve created a child-theme and trying to edit that child theme in my computers’ LAMP server. Once it is done I’ll upload it to my hosting.
Can any one please help me in this regard?
Thank you.
Forum: Themes and Templates
In reply to: [Twenty Eleven] How to change the header/title background color?@alchymyth
Thanks a lot! It works!