JaanMatti
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Cannot find where Google Analytics code is coming fromHi contentiskey,
The double code is also on the homepage of the blog, but not on other pages. I can see it from the GA statistics – the bounce rates are normal on other pages. On the site and blog homepage, it’s abnormally low (around 2%) because the code is loading twice.
I think some sort of remarketing is being used, yes – I can see a reference to it from the source
Forum: Fixing WordPress
In reply to: Page ordering not working on live pageActually it was my inexperience – I thought that ID means menu order, while in fact, there was a special tag for it ?? And the menu order plugin just added to the confusion. Thank You so much, esmi – you have been a huge help. The world would be awesome if there were more people like you.
Forum: Fixing WordPress
In reply to: Page ordering not working on live pageI’m using the Centita theme from themeforest. I just remembered I also had the “simple page ordering” plugin enabled, so I disabled that. Now using ‘ID’ seems to give out an order based on page entry time and ‘rand’ seems to be random
Forum: Fixing WordPress
In reply to: Page ordering not working on live pageWhen using ‘rand’ , it started listing them by alphabetical order
Forum: Fixing WordPress
In reply to: Page ordering not working on live pageThank You very much the quick answer, esmi . I tried to add the orderby ID parameter like this:
$args = array( 'post_parent' => $post->ID, 'post_type' => 'page', 'post_status' => 'publish', 'numberposts' => -1, 'orderby' => 'ID', ); $postslist = get_posts($args); ?>
So I just added the ‘orderby’ => ‘ID’, to the existing array, but it didnt change the result. Did I do something wrong?
Forum: Fixing WordPress
In reply to: Transfer second wordpress site to domain.com/secondsiteHi,
Thanks, by trying to disable the permalink settings I noticed, that on the /en install, my .htaccess file wasnt writable, so that was the problem ??
Thanks again,
Jaan-MattiForum: Fixing WordPress
In reply to: Transfer second wordpress site to domain.com/secondsiteI guess my problem right now is that I have successfully transferred the site to /eng, but the permalinks are messed up. When I click on the links in the menu, the page isnt there. It’s like somehow the permalinks havent updated.
Forum: Fixing WordPress
In reply to: Transfer second wordpress site to domain.com/secondsiteThanks for the answer. But I already have the index.php and htaccess in the /eng directory, because they are in the WP folder by default.
Forum: Fixing WordPress
In reply to: Transfer second wordpress site to domain.com/secondsiteThank You for the link. I have a question about it though – the codex tells me to move my WP install to domain.com/eng , by changing the site URL, wordpress URL and by “copying the index.php and htaccess to the root folder”. But I already have an index.php and htacess file in the root folder, because the root has its own WP install (www.wordpress-site.com/wp-site-in-english) Should I somehow merge the two index.php files?
Forum: Fixing WordPress
In reply to: php if else – trying to execute javascriptThank You very much Chris, that idea worked as needed. Thanks to both of you.
Forum: Fixing WordPress
In reply to: php if else – trying to execute javascriptAndrew, I just tried it, unfortunately that doesnt work either. It always just brings back one result – I either get the overlay in both cases, or none of the cases.
Forum: Themes and Templates
In reply to: Wrong encoding when transferred my site to another serverGot it fixed, it was a problem with Notepad++’s byte order mark – For some reason I had to convert it to UTF8 without BOM in order it to display correctly.
Forum: Themes and Templates
In reply to: Can't get the footer to stick to the bottom of the pageWPyogi, thanks a lot ! I got it fixed. You have no idea how long I stressed with that problem and couldnt figure it out ,so your help was invaluable.
Thanks again!
Jaan-MattiHi David,
Thanks, you were right. There were hidden characters in the footer that also didn’t show up in notepad++. In my case, it was the Byte Order Mark that Notepad++ automatically inserts when you convert an html document to UTF-8. This automatic inserting has to be ticked off from the menu, but I had created the footer before I did it.
Thanks again!
Jaan-MattiThanks WPyogi, the idea of Validating my pages first also pointed me towards the solution.
In my case, the problem was, that when encoding my HTML pages in UTF-8, Notepad++ added a Byte Order Mark in the beginning of every HTML page. It wasn’t visible in Notepad++, but the browser picked it up and applied a body line height to it. I fixed it by turning the encoding to UTF-8 without BOM in Notepad++ and then copy&pasted every header file again.
Jaan-Matti