10 自定義論文的方法和提高您博客使用開放鉤

通過 阿維納什 關於 7月 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 x 90 廣告
</td><td>
YOUR CODE for 728 x 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 x 90 和 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> 讓聰明的 <一的HREF =“<在>網址://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 是一 收入共享 博客, 寫為我們賺錢. 閱讀此處獲得更多信息. 需要幫助您的筆記本電腦或台式機? 想分享的東西或提供反饋 使用論壇

本站由論文

Thesis Theme

一個驚人的WordPress主題, 沒有什麼比搜索引擎優化的多功能性和友好的論文框架.

從初學者, 最先進的WordPress開發, 論文更容易被其他任何人都可以定制.

2 引用通告

為什麼 $87 is too less for Thesis Premium Wordpress theme
8月 12, 2009 在 3:06 下午
uberVU - 社會評論
11 12, 2009 在 12:18 上午

8 評論

1 pankaj singla 12月 13, 2009 在 12:22 下午

嗨, 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 阿維納什 12月 13, 2009 在 12:29 下午

@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 拉傑什卡努裡語@ TechCats 12月 21, 2009 在 9:38 下午

these are the tips which helps in making thesis a beautiful beast.. Thanks for the share
.-=拉傑什卡努裡語@ TechCats´最後的博客 ..如何解決漏附表錯誤在WordPress 2.9 =-.

4 阿維納什 12月 21, 2009 在 9:59 下午

@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 12月 26, 2009 在 2:56 下午

Nice Tricks to Thesis
.-= SmashinGeeks´最後的博客 ..Torrent Fetcher – Fetch Torrents from a Simple Software =-.

6 Tech Maish 一月 18, 2010 在 10:17 下午

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

7 DJ Morris 一月 23, 2010 在 11:59 下午

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 阿維納什 一月 24, 2010 在 12:23 上午

歡迎隊友. Glad i could help :)

評論此項目被關閉.


早先崗位:

下一個職位: