fyllhund
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: change header image based on language selectedOr just
<?php if(qtrans_getLanguage()=='en'): ?> <img src="loggo.jpg"/> <?php endif; ?> <?php if(qtrans_getLanguage()=='cr'): ?> <img src="loggocr.jpg"/> <?php endif; ?> <?php if(qtrans_getLanguage()=='fr'): ?> <img src="loggofr.jpg"/> <?php endif; ?>
Assuming you’re using qtranslate
Forum: Fixing WordPress
In reply to: Buddypress Does not work Properly?you’re rewrite module is not on. contact your host and tell them to turn it on.
Forum: Fixing WordPress
In reply to: Divs instead of paragraph tags – bug in 3.3.1?Nvm mate. I just reproduced the div tags. It seems like some problem with tinymce rather than wordpress itself.
I′ll see if I can sort it out.
Forum: Fixing WordPress
In reply to: Divs instead of paragraph tags – bug in 3.3.1?nvm ( saw that you tried it with different themes)
Forum: Fixing WordPress
In reply to: Divs instead of paragraph tags – bug in 3.3.1?I can not reproduce this problem mate.
I get your ordered list but no added div tags.
So what I′d do is download a fresh copy of wordpress and just keep your wp-config and your wp-content folder (in such case that you haven’t made any hacks to wp-core files).
Forum: Fixing WordPress
In reply to: Divs instead of paragraph tags – bug in 3.3.1?Allright , akismet should not do this nor WordPress Importer. Might be the tinymce pulling something.
I′ll try to reproduce the problem on my testsite.
Forum: Fixing WordPress
In reply to: Unable to add anything into postspretty much and save your wp-content folder aswell. If you’re clean of the hack you should not need to replace those, but if the problem still persists there probably is some culprit in those files. (might just be some missing code , broken or just fubar).
What you do is just download your wp-content folder and your wp-config file , Upload a fresh copy of wordpress . Upload your wp-content and your wp-config and try.
If it still does not work. Switch to a newly downloaded twentyeleven.
Forum: Fixing WordPress
In reply to: Unable to add anything into postsYes. Just save your wp-config (if it hasn’t been infected) and save your wp-content. replace everything else. If that does not work replace your wp-content and if it’s a downloaded theme download a new one, if not go through the code.
Forum: Fixing WordPress
In reply to: Divs instead of paragraph tags – bug in 3.3.1?adress and what plugins do you use?
Forum: Plugins
In reply to: Having problems with Qtranslatethis is how your qtranslate_javascript.php should look like at the end
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'); } ?>
So if you’re getting that error you probably did something wrong
Forum: Plugins
In reply to: Updating qTranslate plugin?download the file and upload it to wp-content/plugins via ftp.
Forum: Plugins
In reply to: Having problems with Qtranslatehttps://www.qianqin.de/qtranslate/forum/viewtopic.php?f=3&t=2841&start=140
fix is my temporary fix is to add this to qtranslate_javascript
before the ending } tag.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;
solves the <p> and
BREAKSForum: Fixing WordPress
In reply to: Setting the footer up as a 'page'Well yes. That could work if you want your code to look a bit better. But remember to do
<?php show_post('name of the page you created');?>
at the place you want the images and text to appear. I recommend wrapping the show post in a div and adjusting size etc with css.Forum: Fixing WordPress
In reply to: Setting the footer up as a 'page'Well what you could do if you really want to use the visual editor is either create a widget area and use some wysiwyg widget text editor.
Or you could create a page called Footerpage and simply insert this code to the top of your page or header
<?php function show_post($path) { $post = get_page_by_path($path); $content = apply_filters('the_content', $post->post_content); echo $content; }?>
and then where you want the text and images to appear
<?php show_post('Footerpage'); // Shows the content of the "FooterPage" page. ?
Forum: Plugins
In reply to: [qTranslate] qtranslate 2.5.26 is brokenThe only temporary solution is to switch to html view and save from there.
If you save the post while in visual tab you’re default language content will be inserted into your secondary tab.