Forum Replies Created
-
This weeks question & answer:
Question Summary: How to add custom css to all widgets?
Solution: In our theme, you can target all widgets with article.widget. An example:
article.widget { background: #fff; border-radius: 6px; margin: 10px; padding: 10px; box-shadow: rgba(0,0,0,0.3) 0 1px 3px; }This weeks question & answer:
Showcase, promotion and custom content types
Question Summary: How to add PromotionBar and ShowCase feature to your custom post types?
Solution: Its super simple;
add_filter('firmasite_pre_get_posts_ekle', "firmasite_custom_cpt_add"); function firmasite_custom_cpt_add($array){ $array[]='anothercct'; return $array; }This code will activate PromotionBar and ShowCase features for your custom post type
I dont remember details but bp1.7 had problems with current version bbPress which was fixed in trunk bbPress. Go go bbPress too
An alternative menu code for BuddyPress menu:
http://theme.firmasite.com/support/topic/account-menu-in-top-menu-bar/It adds login form for visitors and it becomes buddypress menu for logged-in users. Code needs php5.3+ atm. You can play with it
Update: I added “Change style” button to theme website. Now you can see how buddypress or bbpress pages are changing when you change theme style.
Example BuddyPress Profile page:
http://theme.firmasite.com/members/unsalkorkmaz/profile/Dark style of same profile page: http://theme.firmasite.com/members/unsalkorkmaz/profile/?style=cyborg
Example bbPress forum:
http://theme.firmasite.com/support/forum/theme-support/Just change style from top-right and see the magic
@mercime ty
An update: I wrote an article about child-themes and how to add/remove custom bootstrap styles:
Yeah that was my bad for not waiting to publish but its good that i did.. Theme is published 2-3 days late but those little updates was necessary
and btw.. Theme is officially published in WordPress.Org: http://wordpress.org/extend/themes/firmasite
Tomorrow i will release a detailed article about child-theme writing but meanwhile you can try this parent theme
Sorry for people that waiting, passed 7+ days from approved but theme is still waiting for WordPress.Org publish. Its probably my fault that i released some newer versions before it gets published. I cant give a date but at least theme will be in WordPress.Org soon.
Meanwhile you can check my example child-theme: http://theme.firmasite.com/example.zip
This theme;- adds Flatstrap custom style to theme style list
- selects it automatically
- removing default default bootstrap style from list.
You can edit this child-theme however you want
This needs advanced coding.
Check this plugin:
http://wordpress.org/extend/plugins/wordpress-turkce/Description is in Turkish but plugin codes are in English. When you define:
`define( ‘WPTURKCE_USER’, true );`
This plugin allows Turkish characters ( ŞşİıĞğÜüÖöÇç ) in usernames.
You really need to understand php for what you want.Thanks a lot ^^
For people already started to use FirmaSite theme: dont forget to keep your eyes on Tip & Tricks! I am sending some pretty neat customizations that you can easily use
And theme got approved

http://themes.trac.wordpress.org/ticket/11702That means theme code is checked by theme reviewers and its trustworthy. You can download from WordPress.Org soon. Meanwhile you can explore theme or download from http://theme.firmasite.com/
Sorry for non-english examples. Basically i dont have english network yet ^^
Should i create a community in http://theme.firmasite.com/ ? Its a network itself so i can install buddypress and open registration etc. I couldnt decide on this actually but i generally hate registering to lots of site for able to get support. If i dont change my mind, i am thinking to give support on wordpress.org’s forums because everyone have account in there.What do you guys think about registering a site for getting support?
I can give you more example if i can understand which sections you want to see. Only additional features for multisite networks i remember now is blogs list in buddypress.
Example multisite blogs list:
http://yerleske.net/siteler/You can watch a live-demo that i am showing theme options:
http://www.youtube.com/watch?v=Lx0cnbr0iyc
or from in front of:
http://theme.firmasite.com/if you mean WordPress Multisite with “network environment”; My all sites are built on multisite. For example main site is: http://yerleske.net/ and http://unsalkorkmaz.com/ is one of sub-domain.
If you mean BuddPress examples;
My buddypress profiles:
http://yerleske.net/uyeler/unsalkorkmaz/
http://kremim.com/uye/listesi/ajx/bbPress forum example:
http://kremim.com/forum/soru-cevap/Firmasite 1.1.6 released:
http://themes.trac.wordpress.org/ticket/11702You can find detailed information, showcase, live demo,
tips and tricks about theme in: http://theme.firmasite.com/You can check changelog from: http://theme.firmasite.com/category/changelog/
function restrict_admin(){ //if Subscriber or low, kill WordPress execution and provide a message if ( ! current_user_can( 'edit_posts' ) ) { wp_die( __('You are not allowed to access this part of the site') ); } } add_action( 'admin_init', 'restrict_admin', 1 );Is this ok for you?
I released the plugin..
FirmaSite Theme Enhancer:http://wordpress.org/extend/plugins/firmasite-theme-enhancer/

You can start to use Firmasite 1.1.3 directly:
http://themes.trac.wordpress.org/ticket/11605I split some theme’s functionalities to plugin which i will release today or tomorrow.
Bah.. sorry.. didnt mean harm tbh. Thanks for edit
I agree it can be a plugin feature. But why not theme feature too? Basically plugin dont know if bootstrap style is loaded or not? I will write a plugin to add more features to this FirmaSite theme, like those custom tinymce buttons etc. Main problem is i know firmasite theme is loading bootstrap but i dont know other themes are loading or not. Lets say i load bootstrap for other themes in this plugin, it will ruin theme probably. It shouldnt be a plugin because this feature all demands on what style is loading..
Naa.. Themes are easy. Esspecially with theme customizer feature. Main problem is wp repo rules [EDITED ~~~ by Mercime. No personal attacks are allowed on this site]. If you have time, you can read this discussion: http://lists.wordpress.org/pipermail/theme-reviewers/2013-March/012167.html I can simplify the problem in that discussion: In FirmaSite 1.1.0 version, i added 2 custom tinymce button that makes easy to use special css classes. For example you can convert a link to bootstrap button with just 1 click. You can change a button’s color or size with just 1 click. You dont need to write css classes in tinymce for making your content more useful or better readability. What this tinymce plugin doing is actually simple. For example it adds “btn btn-primary” classes to <a> tag to make it a good looking button. They closed my theme because of it. What did i do? Made user’s content creation easy…
Btw an example of theme usage: http://resimlitarif.com/ This is a turkish food recipe website that my mom is writing
Just 1-2 little custom css code for header and custom background..@mercime well.. wp theme repo admins are interesting. I dont think i can get approved anytime soon. Check this: http://themes.trac.wordpress.org/ticket/11449
TinyMCE buttons are Plugin territory. Bam.. close theme as not approved. Now wait 1 more month. 1 month later: ”XXX is plugin territory.” bam.. 1 more month again.. Where is full review? How can i be sure if they dont do that like 7-8 times more?
Firmasite 1.1 released:
http://themes.trac.wordpress.org/ticket/11437Download: http://wordpress.org/extend/themes/download/firmasite.1.1.0.zip?nostats=1
This theme now directly supports buddypress + bbpress without needing child theme.
Example site and my blog that using this theme:
http://unsalkorkmaz.com/opened ticket for it: http://buddypress.trac.wordpress.org/ticket/4835