10 Formes de personalitzar i millorar la seva tesi bloc utilitzant ganxos

per Avinash encesa Juliol 10, 2009 a Internet

La raó principal de la meva compra tema de tesi va ser la quantitat de flexibilitat que em va oferir per a personalitzar-lo d'acord a les meves necessitats. Abans de canviar de tema de tesi, Vaig passar moltes hores per trobar el tema adequat per al meu bloc i després, després de trobar algun tema d' , treballar-hi per adaptar-lo a les meves necessitats. 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.

Avui, 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 . ” per què $87 és molt inferior per la Tesi 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 hooksDe totes maneres, 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. aquí, 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. També, 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 this, anar a la “After Headerhook in thesis open hook plugin, and insert the following code.

<?php thesis_nav_menu(); ?> 

També, make sure you tick Execute PHP on this hookotherwise nothing will happen.

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

Publicitat

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 x 90 Anuncis
</td><td>
YOUR CODE for 728 x 90 Anuncis
</td></tr>
</table>

If you want to have a single block , you can edit the code a bit. actualitzar : – I have changed the advertising block here. The code here represents the old bock with 160 x 90 i 728 x 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.

<p> Obtenir intel ligent amb la <a href = "<a>http://diythemes.com/?a_aid=49eeadfe72af4<;/em>">Tesi WordPress Tema de</a> from DIY Themes.<;/p>

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

8. Create solid background with slick borders around your “Pàgina” 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: none; background:none;}
.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:none; }
.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.

Llocs semblants:

Avinashtech és un Revenue Sharing Bloc, Escriure per a nosaltres i per guanyar diners. Llegiu aquí per a més informació. Necessita ajuda amb el seu ordinador portàtil o d'escriptori? Vols compartir alguna cosa o fer comentaris Feu servir el Fòrum

Rebre correu electrònic alertes i actualitzacions

Introduïu el vostre adreça de correu electrònic per rebre ofertes d'obsequis, Freebies, Programari consells i trucs a la teva bústia:

( 2 Trackbacks )

per què $87 és molt inferior per la Tesi Premium Wordpress Theme
Agost 12, 2009 a 3:06 PM
uberVU - Comentaris social
Novembre 12, 2009 a 12:18 PM

( 8 informes )

1 pankaj singla Desembre 13, 2009 a 12:22 PM

Hola, 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.
gràcies
.-= pankaj singla´s last blog ..Cash Payment of LIP is Allowed for Deduction u/s 80C =-..

2 Avinash Desembre 13, 2009 a 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 Kanuri @ TechCats Desembre 21, 2009 a 9:38 PM

these are the tips which helps in making thesis a beautiful beast.. Thanks for the share
.-= Rajesh Kanuri @ TechCats´s últim bloc ..How To Solve Missed Schedule Error In Wordpress 2.9 =-..

4 Avinash Desembre 21, 2009 a 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 Desembre 26, 2009 a 2:56 PM

Nice Tricks to Thesis
.-= SmashinGeeks´s últim bloc ..Torrent Fetcher – Fetch Torrents from a Simple Software =-..

6 Tech Maish Gener 18, 2010 a 10:17 PM

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

7 DJ Morris Gener 23, 2010 a 11:59 PM

You solved my issue in moving the nav bar below the headerbest article about Thesis I have read this far :). gràcies!
.-= DJ Morris´s últim bloc ..The New Abacoa Real Estate Agent? =-..

8 Avinash Gener 24, 2010 a 12:23 PM

Benvingut company. Glad i could help :)

Els comentaris sobre aquesta entrada estan tancades.


Càrrec anterior:

Següent post: