购买论文的主题我的主要原因是它的灵活性,金额为我提供定制,根据我的需要. 在切换到论文的主题, 我花了无数的时间找到正确的主题我的博客,然后在发现的一些主题 , 进行这项工作进行定制,以我的需要. 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 是太少了论文高级WordPress主题“.

总之, 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.
You need to Tick “Remove Thesis default header” and 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;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;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.
To place the buttons like those shown above, you need to put the following code in your custom_functions.php file.
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 menu” in Thesis open hooks plugin in “Before Header” hook.
After this, 去 “After Header” hook in thesis open hook plugin, and insert the following code.
<?php thesis_nav_menu(); ?>
也, make sure you tick “Execute PHP on this hook” otherwise 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 the “After Header” hook 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 in “Footer 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 your”Footer” section 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: 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; )
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.
类似职位:
- 为什么 $87 太少的论文高级WordPress主题
- Avinashtech完成一年! 生日快乐
- 如何增加收入的Avinashtech共享AdSense广告详情
- 抓斗Dreamhost的 1 共享主机包年只为 $9.24
- $65 关券Dreamhost的网页寄存
- 加入Avinashtech: 100% 收入共享
- 1 FULL year of shared web hosting for only $4.95!
- Infolinks了感染? 卡巴斯基这样想
- 备份所有在线帐户, 数据Backupify
- 获得 1 一年Dreamhost的虚拟主机 (与域) 只 $9.24!
Avinashtech 是一 收入共享 博客, 写为我们赚钱. 阅读此处获得更多信息. 需要帮助您的笔记本电脑或台式机? 想分享的东西或提供反馈 使用论坛




( 2 引用通告 )
( 8 评论 )
您好, 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 =-.
@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.
these are the tips which helps in making thesis a beautiful beast.. Thanks for the share…
.-=拉杰什卡努里语@ TechCats´最后的博客 ..如何解决WordPress的射失附表错误 2.9 =-.
@Rajesh, yes these small tips help make a blog based on thesis unique from other blogs over the web creating a unique theme.
Nice Tricks to Thesis
.-= SmashinGeeks´最后的博客 ..Torrent Fetcher – Fetch Torrents from a Simple Software =-.
I was searching for the 3rd one. Thank you friend.
You solved my issue in moving the nav bar below the header…best article about Thesis I have read this far :). 谢谢!
.-= DJ Morris´最后的博客 ..The New Abacoa Real Estate Agent? =-.
欢迎队友. Glad i could help :)
此项目评论关闭.