wordpress

Need a little bit of help with text alignment in wordpress

Hey I am having a bit of a delmma. I can't figure out for the life of me how I would set the position of the text to be a certain width without moving the image too any ideas? http://s72956.gridserver.com/dev/ ...

New Background Image on each page reload

How can I display a new background image on each page refresh on a website (using Wordpress if this helps anything)? I would also like to take into account different screen resolutions, and proper handling for this. Any help would be greatly appreciated. ...

Using a logo image in a Wordpress blog

Hello, In the code below, I am using an image (images/newlogo.PNG) for a logo. I am trying to add the same logo to a Wordpress blog, but Wordpress can't seem to find the logo. Any idea where I should put the image so that Wordpress can find it? Thanks in advance, John <div class="newlogo"> <a href="index.php"> <img src=...

Help with making WordPress post to IP.Board 3.0

Hey, I need help making WordPress post to IP.Board 3 after its done publishing and such. I inserted the following code before return $post_ID; into wp-includes/post.php. <?php /** * Library to facilitate posting to the IP.Board 3 forums * * @author bfarber * @version 1 * @since 3rd April, 20...

Custom fields multiple values, Wordpress, PHP

Hi Im pretty new to this with Here goes the original code with one value i get working: $description = get_post_meta($post->ID, "description", false); if ($description[0]=="") { } else { Products foreach($description as $description) { echo ''.$description.''; } } ` I have difficulties to modify this ...

How can I make wordpress stop permalinking non wp directories?

How can i make my WP install stop taking over directories that it has nothing to do with? I have a directory thats password protected via ht access and when it wasnt protected, i could access it, but now that it is, it throws me a WP 404 page. this is the existing wp htaccess file # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngi...

Wordpress post sync / publish to production

I'm using wordpress as a simple backend CMS for a flash site. Posts are queried and displayed in list format on the frontend. I want to be able to make post edits or add new posts on my staging server, and have a quick and easy way to publish changes to production without having to do a full mysql db dump / import. I've looked around ...

Wordpress: displaying an error message - hook admin_notices fails on wp_insert_post_data or publish_post

I'm adding validation so if a post is in a particular category, it needs certain Custom Fields to be set. This should be easy hooking wp_insert_post_data and admin_notices, but there is a redirect that causes the admin_notices callback to disappear. OK - So I created a hack that uses the Session to store my error message across the red...

Wordpress and PHP 5.3

Can anyone offer any suggestions as to why wp-admin/options-general.php won't load on my Wordpress installation in PHP 5.3? If I enable debugging and then have PHP report errors, I do get deprecation errors, but they don't seem relevant. Further, if I fix these errors, the page still does not load. The top bar and several navigation box...

How can I pass variables from a form within the Wordpress platform?

Hi, I'm building a website using Wordpress. The WP-Events plugin is being used to display a list of upcoming events. What I need is for people to be able to confirm their attendance at any particular event. WP-Events is a bit awkward in that it's customised using a template that is only able to be edited with the Wordpress admin. I...

Apache mod rewrite returns blank screen for php files with wordpress header included

Here's simplified .htaccess file: RewriteEngine On RewriteRule ^index$ index.php On my local lamp server everything works fine, but there are some problems on production server. myurl/index returns only blank screen, php is not parsed. When required file is accessed directly (myurl/index.php) it works fine. I noticed that this prob...

How to setup nginx + php-fpm + wordpress for only certain URLs?

I'm trying to get nginx + php-fpm +wordpress to serve some pages from my site while acting as a proxy to other pages. ie: host/foo -> proxy to another www server host/bar -> wordpress (via fpm) the proxy part works fine, but the nginx -> wordpress part just keeps redirecting to the root page. When i strace the php-fpm process, i ...

What's the best way to set cursor/caret position?

If I'm inserting content into a textarea that TinyMCE has co-opted, what's the best way to set the position of the cursor/caret? I'm using tinyMCE.execCommand("mceInsertRawHTML", false, content); to insert the content, and I'd like set the cursor position to the end of the content. Both document.selection and myField.selectionStart won...

How to integrate Wordpress template with CodeIgniter

How can CodeIgniter and Wordpress be integrated such that the look and feel/template of the Wordpress blog is carried over to the CodeIgniter-created pages? ...

wordpress, cron & time - does time on server affects plugins? how to fix it?

I'm running wp on lamp install in virtual machine. I frequently pause it, save snapshots, etc. Date and time aren't correct because of this and i think i noticed weird behavior of plugins that use cron. How do i fix my time and plugins? Maybe i should get time from external location so it would be correct even though i regularly pause my...

Wordpress limits - system design consideration.

I am designing a system for a customer. We are thinking about using Wordpress as a main platform (instead of writing our custom software), and customize it using addons or hiring developers to write some custom modules. We need to have an ability to have some static pages, few php pages, and lot of user generated content. What limits do...

[WordPress] Need help with remove_action()

I'm trying to remove the unsightly embedded <STYLE> tag the built-in Recent Comments widget puts in my <HEAD>, but I can't seem to get the syntax right. It originally calls add_action( 'wp_head', array(&$this, 'recent_comments_style') ); to add it (in wp-includes/default-widgets.php, line 609), and I'm trying to undo it. I think it ...

Wordpress "search engine friendly" urls ( permalinks) implementation

I had the pleasure to take a peak at Wordpress source code; i was wondering how they managed the custom url feature, but i couldn't really get it. The rewrite rules inside wordpress .htaccess file simply redirect all requests to index.php. After that, it's a mystery to me: how do they make example.com/this/title/is/cool/ match index.ph...

wordpress | carrington theme | sort posts by title within a category

Hi, Can you help. Wordpress can be altered in many ways. in the loop or just before in the functions.php file in the includes/posts.php I want number 3. As the other two do not work in carringtons theme. I have already edited this file and it worked perfectly. Alas it was so long ago that i have forgot how its done. It got removed ...

Stack Overflow on IIS 6.0

Hi, I am using WAMP as localhost on my pc, and upload all data to the hosting (using IIS 6.0). I am using lightbox gallery in one post, and in the sidebar, to show recent photos from that gallery (on the sidebar). my code on the sidebar as follows: echo do_shortcode('[gallery id="66" size="large" columns="4" num="12" pagenavi="0"]'); ...