geerthoekzema
Forum Replies Created
-
Forum: Plugins
In reply to: [Apply with LinkedIn buttons] Apply With LinkedIn Button Not DisplayingHi Martijn,
I have the same issue as jawdat.
I’m getting the “You must specify a valid JavaScript API Domain as part of this key’s configuration.” error when I look in the console.
Any idea’s?
Forum: Plugins
In reply to: [qTranslate] [Plugin: qTranslate] Latest version destroying data — horrifyingAdding this code to function .php worked for me
function cbnet_tinymce_config( $init ) { // Don't remove line breaks $init['remove_linebreaks'] = false; // Convert newline characters to BR tags $init['convert_newlines_to_brs'] = true; // Do not remove redundant BR tags $init['remove_redundant_brs'] = false; // Pass $init back to WordPress return $init; } add_filter('tiny_mce_before_init', 'cbnet_tinymce_config');
via: https://www.qianqin.de/qtranslate/forum/viewtopic.php?f=3&t=2841&start=140
Forum: Plugins
In reply to: [qTranslate] [Plugin: qTranslate] Latest version destroying data — horrifyingThere is this solution:
https://www.teslina.com/748/wordpress/qtranslate-code-syntax-bugfix/#comment-11Didn’t work for me though…
Maybe someone got an other solution?Forum: Themes and Templates
In reply to: Custom posts pagination based on all postsWell, got it fixed.
Old code:
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $loop = new WP_Query( array( 'post_type' => 'freemz_portfolio', 'posts_per_page' => 4, 'orderby'=> 'menu_order', 'paged'=>$paged, 'orderby'=> 'menu_order' ) ); while ( $loop->have_posts() ) : $loop->the_post();
New code:
$loop = new WP_Query( array( 'post_type' => 'freemz_portfolio', 'posts_per_page' => 4, 'orderby'=> 'menu_order', 'paged'=>$paged, 'orderby'=> 'menu_order' ) ); $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; while ( $loop->have_posts() ) : $loop->the_post();
Forum: Themes and Templates
In reply to: Custom posts pagination based on all postsIn addition:
The posts are displayed via index.php. If I use a page-template with the workaround here: https://weblogtoolscollection.com/archives/2008/04/19/paging-and-custom-wordpress-loops/ the number of pages is correct. Only the paginations doesn’t work. When I go to page 2, I’ll see the results of page one.When I echo the $paged var, this is always 1.
Forum: Themes and Templates
In reply to: Page templates gone WP 2.7.1fixed it:
Sometimes it is necessary to switch to the WordPress Default Theme, then back to your theme, for the Template choices to appear!
That worked for me
Forum: Themes and Templates
In reply to: Page templates gone WP 2.7.1Is there already a solution for this problem? I have a similar problem. I have WP 2.7.1 and i created some templates. Today I added another one, but suddenly all of my templates are gone. Including the default templates (I still can see them on my FTP).
I already removed the new template, and tried reseting the permalinks. Both didnt work.