vaamyob
Forum Replies Created
-
Forum: Everything else WordPress
In reply to: Gallery – sidebarJust as a test, place this in a file called lazy-simple.php
<?php
/* Don't remove this line. */
require('./wp-blog-header.php');
?>
<link href="./wp-content/plugins/lazy-gallery/lazy-style.css" rel="stylesheet" type="text/css">
<?php showGallery();?>
Forum: Everything else WordPress
In reply to: Gallery – sidebarThe resulting div structure that I see on your site is different from what I saw in my tests. Did you just copy and paste, or was it a complete replace of the entire file ?
Forum: Everything else WordPress
In reply to: Gallery – sidebarSomething that looks fishy is that the theme’s index.php has two
</div>
end tags that don’t have corresponding<div>
begin tags.Edit: I followed the link, forget about the above comment.
Anyway, try this:
<?php
/* Don't remove this line. */
require('./wp-blog-header.php');
?>
<?php get_header(); ?>
<link href="./wp-content/plugins/lazy-gallery/lazy-style.css" rel="stylesheet" type="text/css">
<div id="content" class="entry narrowcolumn">
<div id="gallery" class="entrybody"> <br/>
<br/>
<?php showGallery();?>
</div>
</div>
<!-- The main content column ends -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>
Forum: Everything else WordPress
In reply to: Gallery – sidebarWhat does your theme’s index.php look like ?
Oops, never mind.
Forum: Fixing WordPress
In reply to: Sidebar is nothing but SQL errorsI can spot the error in the SQL (no table in the FROM clause), but I don’t think that bit of information is going to help you much.
Forum: Themes and Templates
In reply to: Random code on my pageYou seem to have a few “random stuff” on your page.
Are you talking about the php error ? If so, then you can get rid of it by inactivating the plugin.
Forum: Fixing WordPress
In reply to: xsltYes.
You can
1. add a plugin that intercepts the display of the content
2. translate the comment (xml) via xslt
3. replace the original xml content with the new (x)htmlForum: Plugins
In reply to: Image gallery with pop up imagesNot EXACTLY a popup, but you can cycle through the images pretty easily.
Forum: Themes and Templates
In reply to: Ocean Theme : Need ReviewsNice, clean, I like it. I like the green (on your site) and the metallic effect at the edges.
Forum: Installing WordPress
In reply to: Weird 404 errorWP is very picky about how you access it matching how you created it.
If you access it remotely via IP (or even the actual machine name) but it was installed with localhost as the domain, it’s not going to generate the right urls. That may be why you’re getting a 404. Because WP generates the url: https://localhost/wp/wp-login.php which is invalid when accessed via any machine other than the one that you’ve got WP installed on.As a test, view the href of the login link and see if it is to the localhost or IP address.
Forum: Everything else WordPress
In reply to: Gallery – sidebarYour issue seems to be with the divs that are created by the lazy-index.php not matching the structure (divs and css classes) that your theme uses.
What I did to take care of the issue is to edit the lazy-index.php and make sure it generated a div structure (including class attributes) that EXACTLY matched my theme.
The effect being a seamless match with my theme, but those same steps would have to be redone whenever I changed themes.
See it in action here:
Forum: Fixing WordPress
In reply to: Images and LinksDone, you can see it in action and get it here:
Forum: Fixing WordPress
In reply to: Images and LinksOK, I wrote the plugin, let me make it look purtty and I’ll create a zip file.
Forum: Fixing WordPress
In reply to: Images and LinksI don’t know of a way currently, but I think that’s a great idea for a plugin !
Forum: Installing WordPress
In reply to: Load balancing between web servers1. you could share the WP installation on a (remote) partition that both servers have access to. That way, any changes via one server would be immediately seen by the other.
2. you could use rsync to constantly keep the files nsync ??