Romanowitsch
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Site pagination leads to Error 404hey jocken,
I’ve checked the permalinks. And if I set them to WordPress standard (those ugly looking
example.net/?p=10008
then the pagination works.But I don’t want them like that.
I’ve checked my server and definitely supports the mod_rewrite module.
Now, my .htaccess looked always like this:
AddType x-mapp-php5 .php AddHandler x-mapp-php5 .php # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress
On my server’s help page, they wrote, I should enter in the .htaccess the following code:
RewriteEngine on RewriteCond %{REQUEST_URI} user/(.*)$ RewriteRule user/(.*)$ /user.php?id=$1
So I did and now my .htaccess looks like this:
AddType x-mapp-php5 .php AddHandler x-mapp-php5 .php # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{REQUEST_URI} user/(.*)$ RewriteRule user/(.*)$ /user.php?id=$1 </IfModule> # END WordPress
But it still doesn’t work.
What’s wrong?
Forum: Themes and Templates
In reply to: Site pagination leads to Error 404Hm,
I first to match the WP pagination settings with the settings of my theme, but my theme doesn’t define the posts per page. Instead it’s got a
get_option('posts_per_page')
-demand.So, that’s not the problem.
Then I reset my permalinks and this is it! If I chose the (ugly looking) default permas then the pagination works just fine.
But I want them to look like this
How can I do this?
Forum: Themes and Templates
In reply to: Site pagination leads to Error 404Hey Gisha,
I’ve read it and there might be 2 possible answers. Either my SEO URL settings or the synchronisation of total page numbers in admin-settings and theme-settings.
I’m going to try this later.
Thank you so far for posting this!
R
Forum: Fixing WordPress
In reply to: How to display images on index page?It’s alright. I found it! There’s a “template.postloop.php” with the code for the posts.
It only showed the excerpt on the home-page, but the excerpt doesn’t contain images. So I copied the<?php the_content( __( '<p>Continue reading »</p>','pagelines' ) ); ?>
in it and nw I got my images being displayed.Thanks for your help and patience, esmi!
Romanowitsch
Forum: Fixing WordPress
In reply to: How to display images on index page?Check with your hosts.
I’ll do that. Hope that this is not the problem, ’cause it sounds like a long run ??
If it’s template pages use <?php the_content();?>
The problem is that I can’t figure it out. Because I can’t find the corresponding PHP-files. Index.php calls for:
<?php get_template_part( 'template.load' )
and the template.load.php says:
<?php get_header(); do_action('pagelines_template', 'templates'); get_footer();
Same thing with the single.php. It only contains
<?php require(TEMPLATEPATH.'/template.load.php');
Temporarily switching to the Twenty Ten theme might help
Twenty Ten displays all images (including the caption text) correctly…
Forum: Fixing WordPress
In reply to: How to display images on index page?The field for the upload path in the settings area is empty. So the path is wp-content/uploads/year/month.
This should be alright, doesn’t it?I don’t know what “anti-hotlinking” really is. At least, I couldn’t remember having activated such a thing…
Could it be problematic for Platform, that I don’t use custom-fields for article images? I always embed images in the first line of the article. Normally it should be displayed then, right? Most themes show the images, but I know that some don’t.
Now, I don’t want to configure custom image fields for all the articles already published…
Any other idea?
Forum: Installing WordPress
In reply to: Installing Platform Theme Framework totally crashed my siteAs a matter of fact, the file was missing in the folder I’ve downloaded the first time. But now I downloaded again and – tataaaa – the file is there…
Well, thanks to both of you for helping out!
Romanowitsch
Forum: Fixing WordPress
In reply to: how to "horizontalize" a dropdown menuI tried the inline property, but it only changes the (horizontal/vertical) arrangement of the submenu, but the submenu itself stays on the left of the main menu.
But I want the submenu to drop down from each main menu link to whom it belongs. This doesn’t seem to be resolvable by adding the display:inline property somewhere.
Is there any “float:???” or “position:???” property that needs to be added or fixed?
Forum: Fixing WordPress
In reply to: Recently migrated site and images are referenced from old siteTry this in your MySQL-database:
Open your MySQL-database, choose the wordpress database on the left side by clicking on it (normally it’s name is “wordpress”). Then in the main content area you see a tab that says: “SQL”. Click on that and you’ll see a text area for SQL-commands. There you paste in:
UPDATE wp_posts SET post_content = replace(post_content, 'www.old-domain.org', 'www.new-domain.org');
Needless to say that you have to replace the “
'www.old-domain.org'
” with your old – and the “'www.new-domain.org'
” with your new Site-URL…You can write whatever domain in there. So it could also be like this:
UPDATE wp_posts SET post_content = replace(post_content, 'www.yoursite.org/old-structure', 'www.yoursite.org/new-structure');
The important thing is, that you only put those parts of the URL in there, that you actually want to change. You can also leave the “www” away, but this, too, is a change (e. g. “www.old-domain.org” –> “new-domain.org”)
BUT PLEASE NOTE!!!
This is an irreversible command!
So you better use a search engine before you do that in order to know how to backup your SQL-database in the first place!Maybe you experience the problem that I first had with this method:
I got updated URLs afterwards that looked like this:new.domain.org/new-domain.org/...
In this case, paste the whole SQL-command again, but this time, the former “old-domain” is now the new one (the first in the URL-doubling) and you’ll have to leave the new-domain URL (which is the second of the doubling) blank. Example:
UPDATE wp_posts SET post_content = replace(post_content, 'new-domain.org', '');
By leaving the second URL empty, the domain mentioned before (“new-domain.org” gets deleted – and tadaaaa: the double-domain URL is fixed.
kind regards,
Romanowitsch
Forum: Fixing WordPress
In reply to: how to "horizontalize" a dropdown menuUpdate:
Now I got the menu itself ordered horizontally. But the submenus still appear on the left hand side…
Is this a “simple” display:inline-problem, too? Or is there a little more to do?
Forum: Fixing WordPress
In reply to: how to "horizontalize" a dropdown menuhm… that’s strange. My former menu had the div class “top_nav”, but when I copied the code from the TwentyTen theme, I commented the whole “top_nav” properties out, so you shouldn’t have even seen them.
Was that just a guess or do you really see a div-container named “top_nav”?
(Anyway, I’ve tried it and it still doesn’t work…)
To give it a trial, I commmented the whole “access” properties (from the TwentyTen theme) out and set the (former out commented) “top_nav” properties back in and added the display:inline command to it, but that didn’t arrange it horizontally neither.
I also tried to rename all “access” properties in “top_nav” but also without any gain…
Something else seems to prevent the “inline” property from working properly.
Any idea?
Forum: Fixing WordPress
In reply to: how to "horizontalize" a dropdown menudisplay : horizontal is not a valid css properties
Your completely right. It was missleading when I wrote “I’ve set the li to display horizontal”.
Now, I tried to add (or change the former “block”) properties “display: inline;” almost everywhere I could imagine. But nothing changed.
When I add it to the general property:
ul, li { list-style: none; list-style-type: none; display: inline; }
it ruins my layout and still doesn’t change the menu’s appearance.
Can you figure out, which div id or class I have to target?Forum: Fixing WordPress
In reply to: how to "horizontalize" a dropdown menuI don’t get it. I’ve set the list to display horizontal, but it doesn’t do it? Or does “inline” mean “vertical”?
EDIT: Oh, now I got it. There’s the css-command “inline” missing, right?
I’ve tried to put it somewhere now, but I can’t figure out, where I have to add the “li”…Maybe it’s a browser problem, but you should see it on top (beneath this picture frame hanging down from the top).
Forum: Plugins
In reply to: hyphenator doesn't recognize site languageIt’s alright, I solved it my own.
For those having the same problem:
I decided using another plugin for the same purpose (called “wp_typography”) which brings a lot more options with it and works fine with all themes installed.
Forum: Plugins
In reply to: Slideshow Gallery 1.1: Can’t exclude imagesGreat!!
That’s it.Thanks for your help!