grady55
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Atahualpa] How do I compare dates?I am using Atahualpa and in the description it says:
%date(‘F jS, Y’)% – Display the date and/or time the post was published at.
%date-modified(‘F jS, Y’)% – Same as above but displays the post’s last modfied date instead of its creation date.
I can put those in a textbox under the menu point Edit Post/Page info items. I guess it replaces those values with the real PHP functions. I can post PHP in those textboxes as well. Entering
<?php echo "Hello world!"; ?>
for example really prints “Hello World”. So the question is what do I put inside the <?php …?>.
Thanks ??
Forum: Themes and Templates
In reply to: [Atahualpa] How do I compare dates?Hello, thanks for the reply. PHP is not the problem, the problem is that I dont know how to access %date(‘j F Y’)% or %date-modified(‘j F Y’)% inside the PHP code snippet? Once thats clear I might compare the resulting types, thats true.
Ideas? Thanks ??
Forum: Plugins
In reply to: [WP-Polls] WP-Polls language pack is not workingSetting this to resolved …
Forum: Plugins
In reply to: [WP-Polls] WP-Polls language pack is not workingIt works now, the problem was that I always saw “Total voters” for example which made me think its still English … now I noticed that this has to be changed in the template section of the plugin. Purrs like a cat now, best thanks.
For me it was enough to download the language files and place them in the plugin directory.
Regards
Forum: Plugins
In reply to: [WP-Polls] WP-Polls language pack is not workingI think it is, the GUI language is German … how do I check if it really is? I am using the Atahualpa 3.6.4 theme, if that makes any difference. I already changed the language setting in the wp-config.php file. It is:
define ('WPLANG', 'de_DE');
Thanks ??
Forum: Fixing WordPress
In reply to: Adding vertical and horizontal space for images using caption?That did not change anything … I think the problem is the caption. Maybe I have to change the caption div which is creaded when using [caption]? In the resulting HTML its a div with the wp-caption class.
<div class="wp-caption alignright"....>
The CSS for that class looks like this:
.wp-caption { /*max-width: 100% auto;*/ max-width: 96%; /* FF2, IE7, Opera9, Safari 3.0/3.1 will resize images in the main column if needed. 97% so images with padding and border don't touch the right sidebar while being resized. Change this to 100% if you want, if your images don't have padding and a border */ width: auto 100%; height: auto; /* FF3 needs "auto", IE6 needs "100%", see next style*/ display: block; border: 1px solid #dddddd; text-align: center; background-color: #f3f3f3; padding-top: 4px; margin: 10px 0 0 0; -moz-border-radius: 3px; -khtml-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; }
Dont know. Ideas?
Thanks.
Forum: Fixing WordPress
In reply to: Adding vertical and horizontal space for images using caption?Thanks, but how would I do that in this special case?
Regards
Forum: Plugins
In reply to: [WP-Polls] How to use the language packs?I am sorry for the double post, please delete this …
I installed the plugin from the above link, but the result is the same. Its only shown on the main page, but posts still have the old style. How do I say that I want it only on posts? When I am trying to save settings, it throws an error: Fatal error: Call to undefined function wp_array_slice_assoc() in C:\…\wp-pagenavi\scb\AdminPage.php on line 147
Thanks
Thanks, gonna try this afternoon. ??
Thanks for the quick reply … the link is not working, can you post it again pls? How stable is the development version? When will it officially be released?
Thanks :)!