<?php /** * Template Name: wordpress * Description: A Page Template that adds a sidebar to pages * * @package WordPress * @subpackage Twenty_Eleven * @since Twenty Eleven 1.0 */ get_header(); ?> <div id=”primary”> <div id=”content” role=”main”> <?php //for each category, show 3 posts $cat_args=array( ‘orderby’ => ‘name’, ‘order’ => ‘ASC’ ); $categories=get_categories($cat_args); foreach($categories as … Continue reading
Tag Archives: Tipswordpress
WordPress ব্লগের frontend থেকে এডমিন বার সরানো
নতুন যারা ওয়ার্ডপ্রেস ইনস্টল করেন যেমন ৩.১ ভার্সন বা যারা আপডেট করবেন তাদের ব্লগে এডমিন বার দেখা যায়। এডমিন প্যানেলের জন্য যদি আলাদা লিঙ্ক বা সাইডবার লগিন থাকে তাহলে আর ঐ এডমিন বারের প্রয়জন হয় না। উপরের চিত্রে দেখানো হল কেমন হয়ে থাকে এডমিন বারটি। এডমিন বার সরানের জন্য নিচের কোড গুলো আপনার ওয়ার্ড প্রেস থীমের … Continue reading
ওয়ারর্ডপ্রেস এ Contributor কে ছবি আপলোড করার অনুমতির জন্য কোড
প্রিয় বন্ধুরা কেমন আছো সবাই? আসা করি ভাল। আমাদের ওয়ার্ডপ্রেসে তৈরি সাইটগুলোতে কন্ট্রিবিউটারকে সাধারনত ছবি আপলোড করার সুযোগ থাকে না। শুধু মাত্র পোষ্ট করার সুযোগ থাকে। আজ আমি তোমাদের কন্ট্রিবিউটারকে কিভাবে ছবি আপলোডের অনুমতি দিতে হয় সেই কোডটি জানাবো। খুব সোজা কাজ। তোমার থিমের functions.php ফাইলটি ওপেন কর। (কেউ যদি না বুঝ তাহলে এই ফাইলটির … Continue reading
Home Page এ “কত বার দেখা হয়েছে” যুক্ত করতে পারছেন না? আজকে পারবেন ।WP-Post Views সমস্যার সমাধান
টিউন করেছেন : ফিদা আল হাসান | প্রকাশিত হয়েছে : 17 December, 2012 on 8:45 pm | 698 বার দেখা হয়েছে | 20 Ads by Techtunes – tAds আপনারা অনেকেই WP-PostViews plugin টা ইন্সটল করেছেন । কিন্তু কত বার দেখা হয়েছে তা পোস্ট এর ভিতরে অথবা হোম পেজ এ দেখাতে পারছেন না । অনেক গুগল … Continue reading
ওয়ার্ডপ্রেস বিষয়ে সাহায্য চাই , frontend এ কিভাবে রেজিস্ট্রেশন ফর্ম যোগ করবো
আমি আমার ওয়ার্ডপ্রেস ওয়েব সাইটের ফ্রন্টেন্ডে কাস্টোমাইজড রেজিস্ট্রেশন ফর্ম যুক্ত করতে চাই , উদাহরন হিসেবে নিচের ছবিটি দেখতে পারেন । Continue reading
শুধুমাত্র একটা প্লাগইন সেটাপ দিয়ে আপনার ওয়ার্ডপ্রেস সাইট কে বাংলায় অনুবাদ করুন!!!
বিসমিল্লাহির রাহমানির রাহিম শিরুনাম দেখে অবাক হচ্ছেন? না অবাক হওয়ার কিছু নেই। আসুন প্রথমেই কিছু স্ক্রীনশট দেখে নিই। স্ক্রীনশট তো দেখলেন। এখন ডেমু হিসেবে এই সাইট টি দেখতে পারেন। http://alaminjab.tk/ তাহলে আর দেরি কেন? এখনি নিচের লিঙ্ক থেকে ডাউনলোড করে নিন। ডাউনলোড লিঙ্ক-১ ডাউনলোড লিঙ্ক-২ আর কি বলব ডাউনলোড করে নিজেই দেখুন। ধন্যবাদ সকলকে। Continue reading
কোন প্লাগিন ছাড়াই আপনার সাইট এর পোস্ট এর কোণায় যুক্ত করুন Post Flyout । হট পোস্ট গুলো তুলে ধরুন ভিজিটর এর কাছে
টিউন করেছেন : ফিদা আল হাসান | প্রকাশিত হয়েছে : 16 January, 2013 on 8:45 pm | 598 বার দেখা হয়েছে | 19 Ads by Techtunes – tAds আপনারা অনেকেই আপনাদের পোস্ট এর কোণায় Flyout যুক্ত করার জন্য অনেক প্লাগিন ব্যাবহার করেছেন । এতে অনেকে সফল আবার অনেকে বিফল হয়েছেন। কিন্তু আমরা এই কাজটি করতে … Continue reading
Place a login form in the sidebar
Skip the login page. Want to log in through the front page? If yes then this tutorial is perfect for you. First, let’s see how it actually looks like. I tested it with my Lust WordPress theme on two local WordPress installs, version 2.1 and 2.2. Here’s the login form in the sidebar: Here’s the … Continue reading
Highlight author’s comments
A while ago I was looking around for how to make my own comments a different color on my blog. Most of the advice was along the lines of “Add code to check if the commenter’s email is the same as the email address of the blog’s author.” Can you spot the flaw in that … Continue reading
How to Add A Shortcode in WordPress?
Have you ever had a time where you wanted to add some specialized content to your WordPress post or page, but weren’t sure how? Maybe you wanted to embed a Twitter widget or some content called back from some website or API. How can you easily add this type of content to your WordPress post? … Continue reading
How to Create a Daily and Weekly Email Newsletter in WordPress
In the past we have written on what, why, and how-to’s of email newsletters. With our redesign, we have gone ahead with advanced segmenting of our email newsletters. A lot of you guys have sent us an email asking how to do daily and weekly email newsletters. How to add all these other options, what … Continue reading
WordPress 3 Template Hierarchy
This chart is one entire page in our book, but I thought it would be good to focus on specifically. Template hierarchy has gotten a bit more advanced since the last time we covered it. The idea is that WordPress will look for files in a theme to use to render the current page in … Continue reading
How to Hide or Style your Subcategories in WordPress
Subcategories are great because it helps us sort content, but sometimes it looks ugly in the template. In this tutorial, we will show you how you can either hide the subcategories, or you can style them with one single code snippet. First open your style.css, and then add the following code to hide the sub … Continue reading
How to Display a Category only if it has Posts in WordPress
This snippet that we are sharing in this article is helpful in very custom designs. By default you can use wp_list_categories function to display categories, and it only displays categories if it has posts. Sometimes when you are customizing WordPress, you might need to use it this way. When we were working on a client’s … Continue reading
How to Display Today’s Date in WordPress?
A trend of displaying current date which was started with newspapers has been adapted by many blogs. As more and more users are using WordPress to create magazine style theme, this is just one of the features that can be a great addon to your site. Having a current date looks professional, and it is … Continue reading
How to Display a Read More link in WordPress Excerpts
To prevent duplicate content, improve site load time, and for better SEO many bloggers have started to use post excerpts. Excerpts are mini-descriptions of the posts shown on the main blog page, category pages, and archive pages. You can see a live example by visiting any of our categories. But if you notice, our read … Continue reading
How to Remove the Password Reset / Change option from WordPress
By default, WordPress allows every user to change/reset their passwords. This is a great option, but in some cases you do not want to have this option available for all user levels. In this article, we will share our story on why we need this functionality, and we will also show you how to remove … Continue reading
How to Use Multiple Search Forms In WordPress
Recently we showed you how to limit search results for specific post types in WordPress. Now we are going to show you how you can create different/multiple search forms altogether. This way each form can be limited to searching for a specific post type. Although this isn’t very hard it will require you to have … Continue reading
How to Change your WordPress Username
Have you ever tried to change your WordPress username just to find out that it cannot be changed? If you are, well then this article is for you. In this article, we will share a step by step guide on how to change the WordPress username on a cPanel Web Host using phpMyAdmin. Some Note: … Continue reading
How to Change Font Size onClick in WordPress with JavaScript
Have you ever come across a site or blog that lets their visitors change the font size from some +/- button in the sidebar? Normally, you should never have to add this feature because all major browsers have the zoom in/zoom out buttons, but there are still a good number of users who are not … Continue reading