10 Начини за персонализиране на теза и подобряване на блога си, използвайки отворен куки

към Avinash на Юли 10, 2009 в Интернет

Основната причина за мен закупуване теза тема беше размера на гъвкавостта, която той ми предложи да я персонализирате според нуждите ми. Преди преминаване към теза тема, Прекарах безброй часове в намирането на правото тема за блога си и след това след намирането на някои тема , работят по него да я персонализирате за моите нужди. But after sometime i get stuck at one place or other, where i find that i cant do this or that as per my needs.

All this happened many times with many times and wasted many hours of mine. Finally i was tempted to buy Thesis though was a bit scared if this also proved to have same problems like previous themes and the price tag of $87 seemed too high. But finally i bought it after reading too many reviews and visiting some live sites running on thesis.

Днес, i feel happy about that decision. It would have been better if i had decided to buy it much earlier.

You can check my post about the reasons why decided to buy Thesis theme here . ” Защо $87 is too less for Thesis Premium Wordpress theme“.

thesis 260x125 10 Ways to Customize Thesis and Enhance Your Blog using open hooks 10 Ways to Customize Thesis and Enhance Your Blog using open hooksКакто и да е, here i will talk about some of the customizations i did to my site using open hooks plugins for thesis and using some custom functions along with some CSS modifications to suit my site. тук, i would like to clarify, i am novice in CSS, PHP and HTML too. All customisations were done with help of Thesis Forum’s help ,few other guys like Mattflies and some work by me.

For doing these customisations, you need Open hook plugin for thesis and your custom_functions.php and custom.css files to play with.

1. Adding a Clickable Logo, RSS Icon and Feedburner Counter in header area.

Just see my site logo in header area to see what i am talking about. Just go to open hook plugin and head to thesis_hook_header section.

Remove Thesis default header

Remove Thesis default header

You need to TickRemove Thesis default headerand then paste the code below.

<table><tr><td>
<a href="http://www.avinashtech.com"><img src="http://www.avinashtech.com/wp-content/themes/thesis_15/images/logo.png"></a>
</td><td>

<p style="text-align: center;"><a href="http://www.avinashtech.com/feed/";><img title="Subscribe" src="http://www.avinashtech.com/wp-content/uploads/2009/05/newspaper_feed_128x128.png" alt="Subscribe Avinashtech" width="128"; height="128"; />;</a></p>
</td><td>
<p style="text-align: center;"><a href="http://feedburner.google.com/fb/a/mailverify?uri=avinashtech&amp;amp;loc=en_US"><img title="Subscribe by EMail" src="http://www.avinashtech.com/wp-content/uploads/2009/06/mail-icon-128x128.png" alt="Subscribe" width="128"; height="128"; />;</a></p>
</td><td>

<a href="http://feeds2.feedburner.com/avinashtech"><img style="border:0"; src="http://feeds2.feedburner.com/~fc/avinashtech?bg=99CCFF&amp;amp;fg=444444&;amp;anim=0"; alt="" width="88"; height="26"; />;</a>
</td></tr>
</table> 

I have used the Table function of HTML to create three blocks to put header, Subscribe Icon and the feedburner subscribers counter in the header area.

If you want something different, just play with the code. Също, you need to replace my site locations/files in the code to suit yours. e.g If you want just click-able logo and no other icons you can just delete the other two table blocks.

2. Adding DIGG and Tweetme Buttons on individual Posts beside your Post title.

Tweetme and digg button

Tweetme and digg button

To place the buttons like those shown above, you need to put the following code in your custom_functions.php file.

Tweetme and digg button code

Tweetme and digg button code

You can copy the code text from this text file.

3. Moving Navigation Menu below the Logo or Header.

For doing this, you need to tick Remove Thesis nav menuin Thesis open hooks plugin inBefore Headerhook.

Remove thesis nav menu

Remove thesis nav menu

След това, Отиди на “After Headerhook in thesis open hook plugin, and insert the following code.

<?php thesis_nav_menu(); ?> 

Също, make sure you tick Execute PHP on this hookotherwise nothing will happen.

4. Adding a Advertising Block like mine below Navigation Menu.

If you want a AD block just like mine, you need to put the following code just below code you pasted  for nav menu above in theAfter Headerhook in thesis open hook plugin.


<table><tr><td>
YOUR CODE for 160 х 90 Реклами
</td><td>
YOUR CODE for 728 х 90 Реклами
</td></tr>
</table>

If you want to have a single block , you can edit the code a bit. АКТУАЛИЗАЦИЯ : – I have changed the advertising block here. The code here represents the old bock with 160 х 90 и 728 х 90 ads side by side in one row.

5. Adding Page Numbers below Previous/Next Entries with WP-Page Nav 2.5.

For this to work, you need to have WP-PageNavi plugin installed on your blog. After you activate the plugin, just paste the following code inFooter section of open hooks plugin.

<div align="left">
<?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); ) ?>
<br />;
</div>

6.Moving Category in Same line as with post date

For this, you need to use the following code in Custom_functions.php file.


function add_to_byline() {
echo ' in <span>' . get_the_category_list(',') . '</span>';
}

add_action('thesis_hook_byline_item', 'add_to_byline', '99');

7. Changing Footer and Thesis Attribution with Affiliate link.

You need to paste the following code in yourFootersection of thesis open hooks plugin.

<П> Махни умен с <A HREF = "<в>HTTP://diythemes.com/?a_aid=49eeadfe72af4<;/em>">Теза WordPress Тема</a> from DIY Themes.<;/p>

Also be sure to tick Remove Thesis attribution. Also replace the code above with your own affiliate link. Също , you can have other links for your website there like privacy policy etc.

8. Create solid background with slick borders around your “страница” area.

You need to put this code in custom.css file.

body.custom { background: #44443f; }

.custom #container { margin-top: 1.5em; margin-bottom: 1.5em; padding: 0.3em; background: #33332f; border: 0.4em solid #3e3e3a; }

.custom #page { background: #fff; )

You can edit the code to suit your needs.

9. Changing Post title Colors.

Paste the following code in custom.css file. Edit the code like colors code to suit your blog.


.custom .entry-title a {color:#007EC4; }
.custom .entry-title a:hover {color:#5FCBF3; text-decoration: никой; background:никой;}
.custom .entry-title a:visited { font-weight: normal; }
.custom .headline_area h1, .headline_area h2 {color:#007EC4;}

10. Changing Link Colors.

Paste the following code in custom.css file. Edit the code like colors code to suit your blog.


.custom a { color: #007EC4; text-decoration:никой; }
.custom a:hover { color:#007EC4;text-decoration:underline; )

468x60 missy 10 Ways to Customize Thesis and Enhance Your Blog using open hooks 10 Ways to Customize Thesis and Enhance Your Blog using open hooks

I have tried to put the stuff as much simple as i could. Though i am not good in coding, so all the above stuff is dont with the help of Thesis forum and members like Godhammer, girlie and many more. Leave a comment if you like the post or need any clarifications.



Подобни публикации:

Avinashtech е Приход Дял Блог, Напиши за нас и да печелят пари. Прочетете тук за повече информация. Нуждаете се от помощ с вашия лаптоп или десктоп? Искате ли да споделите нещо или да даде обратна връзка Използвайте ФОРУМ

Получаване на поща и актуализации

Въведете вашия имейл адрес, за да получавате оферти Giveaway, Freebies, Софтуер съвети и трикове във вашата пощенска кутия:

( 2 Trackbacks )

Защо $87 is too less for Thesis Premium Wordpress theme
Август 12, 2009 в 3:06 PM
uberVU - социални коментари
Ноември 12, 2009 в 12:18 AM

( 8 коментари )

1 pankaj singla Декември 13, 2009 в 12:22 PM

Здрасти, lovely tutorial, i have a problem in thesis openhook. Whenever i add code whether for feed burner subscribers or search engine code of google search. it shows me in a very little fonts.
Please tell how i can solve this problem. i am very upset from it.
Благодарности
.-= pankaj singla´s last blog ..Cash Payment of LIP is Allowed for Deduction u/s 80C =-.

2 Avinash Декември 13, 2009 в 12:29 PM

@Pankaj, If you are not happy with the default font size, you need to add font size code in the code you put either in open hook or anywhere else. Though i checked your site, the font size on subscription box seems OK.

3 Rajesh канури @ TechCats Декември 21, 2009 в 9:38 PM

these are the tips which helps in making thesis a beautiful beast.. Thanks for the share
.-= Rajesh канури @ TechCats´и последно блог ..Как да решим Пропуснати График грешка в Wordpress 2.9 =-.

4 Avinash Декември 21, 2009 в 9:59 PM

@Rajesh, yes these small tips help make a blog based on thesis unique from other blogs over the web creating a unique theme.

5 SmashinGeeks Декември 26, 2009 в 2:56 PM

Nice Tricks to Thesis
.-= SmashinGeeks´и последно блог ..Torrent Fetcher – Fetch Torrents from a Simple Software =-.

6 Техническа Maish Януари 18, 2010 в 10:17 PM

I was searching for the 3rd one. Thank you friend.

7 DJ Morris Януари 23, 2010 в 11:59 PM

You solved my issue in moving the nav bar below the headerbest article about Thesis I have read this far :). Благодарности!
.-= DJ Morris´и последно блог ..The New Abacoa Real Estate Agent? =-.

8 Avinash Януари 24, 2010 в 12:23 AM

Добре дошли капитан. Радвам се, че мога да помогна :)

Коментари за този пост са затворени.


Предишни пост:

Напред пост: