By Boring-Group on 04:55 PM
Home / Hybrid & qtranslate
Well I have been going over this for some time to get Hybrid to work well with qtranslate, with a lot of help from Justin this is what I came up with. I am sure this will be improved upon….
You need to add this to your functions.php file in your child theme folder
add_filter( 'hybrid_meta_description', 'disable_stuff' );
add_filter( 'hybrid_meta_keywords', 'disable_stuff' );
add_action( 'hybrid_head', 'my_hybrid_meta_description' );
add_action( 'hybrid_head', 'my_hybrid_meta_keywords' );
function disable_stuff( $var ) {
global $post;
return false;
}
function my_hybrid_meta_keywords() {
global $wp_query;
if ( is_home() || is_front_page() ) {
$keywords = __('your keywords with qtranslate quicktags');
}
/* If on a single post, check for custom field key Keywords and taxonomies. */
elseif ( is_singular() && !is_preview() ) {
$keywords = __(get_post_meta( $wp_query->post->ID, 'Keywords', true ));
if ( empty( $keywords ) ) {
$taxonomies = get_object_taxonomies( $wp_query->post->post_type );
if ( is_array( $taxonomies ) ) {
foreach ( $taxonomies as $tax ) {
if ( $terms = get_the_term_list( $wp_query->post->ID, $tax, '', ', ', '' ) )
$keywords[] = $terms;
}
}
if ( !empty( $keywords ) )
$keywords = join( ', ', $keywords );
}
}
/* If we have keywords, join them together into one string and format for output. */
if ( !empty( $keywords ) )
$keywords = '' . "\n";
echo apply_atomic( 'my_hybrid_meta_keywords', $keywords );
}
function my_hybrid_meta_description() {
global $wp_query;
if ( is_home() || is_front_page() ) {
$description = __('your frontpage description with qtranslate quicktags');
}
elseif ( is_singular() ) {
$description = __(get_metadata( 'post', $wp_query->post->ID, 'Description', true ));
if ( empty( $description ) && is_front_page() )
$description = get_bloginfo( 'description' );
elseif ( empty( $description ) )
$description = __(get_post_field( 'post_excerpt', $wp_query->post->ID ));
}
elseif ( is_archive() ) {
if ( is_author() )
$description = get_the_author_meta( 'description', get_query_var( 'author' ) );
elseif ( is_category() || is_tag() || is_tax() )
$description = term_description( '', get_query_var( 'taxonomy' ) );
}
/* Format the meta description. */
if ( !empty( $description ) )
$description = '' . "\n";
echo apply_atomic( 'my_hybrid_meta_description', $description );
}
By Boring-Group on 05:19 PM
Home / Taide & Design – 2nd print Issue
Editor and Chief, choosing theme & concept.
Frontcover concept.
Magazine page layout & styling.
Editorial, author & image rights management.

Photographer: Noomi Ljundell
By Boring-Group on 05:49 PM
Home / Welcome to the new side of Boring-Group
This is just a quick note welcome to the new look of Boring-Group.com.
We wanted a better way of showing what all of our sister companies was up-to and came up with this new look to represent that…
Let us know what you think?
By Boring-Group on 05:24 PM
Home / Boring Films – Taide 09 – custom theme
Custom Wordpress theme
Custom jQuery slider & jQuery video viewing (popup)
Custom submission system with online payments (PayPal)
By Boring-Group on 05:12 PM
Home / Revenue Publishing – theme & custom work
Custom Wordpress theme
jQuery custom slider frontpage
Twitter integration. Custom affiliate amazon product script.
By Boring-Group on 04:40 PM
Home / J. Lawless Photographer
Completion of a Portfolio site for the up and coming Photographer John Lawless
Brief: Create a simple clean website that is easy to update and design that does not detract from content (photographs). Self updating frontpage display with automatic resizing of images
By Boring-Group on 06:16 PM
Home / Taide & Design – 1st print Issue
Editor in Chief, choosing theme & concept.
Magazine page layout & styling.
Editorial, author & image rights management.
By Boring-Group on 04:08 PM
Home / Taide & Design website
Custom Wordpress theme, including jQuery and other tweaks.
Custom online member subscription (per issue, by month etc, with payment services. Custom language integration.
Magazine issue template system (posts organised by Issue).
We are very pleased to announce that we have been chosen by the Publishers TD Media, to create the brand and look for the website for new Finnish Art & Design Magazine.
Project outline:
- Brand image
- Magazine layout for web
- Magazine to handle 4 languages: FI, SE, FR & UK
- Website design reflects issue theme (changes by what story you are reading, pertaining to which issue)
- Automatic Author bio pages
- Automatic Photographer bio pages
Also, to follow with the green outlook and for those that do not wish to subscribe to the magazine in print form:
- Pay per view online reading: either by story, complete issue, or annually
- Voucher based system, for subscription reduction and offers
- Subscription for print and online, or just print, or just online (not implemented as yet)
- Payment system: Credit-card or most Finnish banks