I'm writing a plugin that add's a page with a tag [deposit_page], that tag should be replaced with some php code.
this is what I have but it doesn't work, something I'm missing or doing wrong? or did I forgot something?
function deposit_page_content($content) {
$deposit_page_content = "here will go the content that should replace the ...
I have the following code to display all pages into a nav bar in Wordpress
<ul>
<?php wp_list_pages('title_li='); ?>
</ul>
Trying to figure out how to add a div class to each li?
...
I have a custom field in WordPress called "thumb-url" which contains the exact location of an image. I want to only display the image if "thumb-url" contains the location of the image.
I'm start with an if statement that echoes photo exists if there's a value in the "thumb-url" custom field, otherwise it does nothing.
<div class="excer...
What's the best blogging software for a developer? In addition to the normal blogging stuff I want:
Code snippets with highlighting in many languages, though primarily python and C++
Good markup syntax
Runs on linux
Ability to put images, such as diagrams, inline
If Wordpress is the answer, what plugins should I get? In the past I've...
I am working on a wordpress theme and am looking for a downloaded set of documentation files so that I can access them even when I don't have access to the internet. I am looking for something similar to the PHP docs found on:
http://www.php.net/download-docs.php
Does anyone know where I might find something like that for wordpress?
...
Hi,
I got sidebar list that I want include list of categories in it. What do I need? I need to list child categories of the parent category.
Sounds messy?
Got categories:
Category 1
Sub 1
Sub 2
Sub 3
I want sub categories to be displayed. When selected Sub 1 display Sub 2 and Sub 3, etc.
Any suggestions?
...
I'm running wordpress 2.8.6 as fcgi with safe_mode=on, on plesk9/centOS64. wordpress was installed by installatron. php.ini is being read from /etc/etc/php.ini
I need to increase php's memory_limit, because I get many mod_fcgid: stderr: PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 40961 bytes) in /...
Ok heres the senarrio, i have 4 wordpress installs as follows
top level = mysite.com/ *main site;
1st level = mysite.com/site1 *1st site
2st level = mysite.com/site2 *2nd site
3st level = mysite.com/site3 *3rd site
The front page on the main site has login forms to each of the three sub sites.
each site has different users, settin...
Hi,
I'm trying to set the wordpress posting form to multipart/form-data for a custom write panel. I am attempting to use JQuery but can't seem to get it to work.
jQuery(document).ready(function(){
jQuery('form#post').attr('enctype','multipart/form-data');
jQuery('form#post').attr('encoding','multipart/form-data');
});
This is...
I'm trying to turn some query results into click-able links through PHP. I'm a beginner and don't really know much. I'm working with Wordpress. Here's what I'm shooting for:
http://www.celebrything.com/
The right side bar is display the count results. I'd like the celebrity names to link to search links for each name.
so the first shou...
Hey,
Just trying to install Wordpress on a client server. Have installed Wordpress 20+ times before with no issues what so ever. However on this fresh install i am getting the following error when i try to progress from stage 1:
ERROR: you must provide an e-mail address.
(The first stage of the install, for anyone who isnt't aware, r...
Hi
Is it possible to grant Editors the ability to manage theme widgets? By default, only Administrators can do so.
Thanks,
Jon
...
I moved a Wordpress website from one server to another and I am now getting 404 errors on everything but the home page.
I also checked that the .htaccess file is there and the database contents. They are fine. Not sure what else could be causing this.
Any ideas from the community?
...
I'm trying to make a website using Dreamweaver. I'd like to have a page on my website that has all the blog entries from my Wordpress site, but I'm not sure how to pull the data into my site and display it.
Will this have to be done manually by hand for each entry or is there a way that I can automate this?
...
Is there any way on earth that I could pump some HTML through an RSS feed? I realize I'm bending the laws of science and all, but I'm under some tight circumstances. I have Wordpress set up so I'm posting a bit of HTML/Inline CSS in one end, and on another site, another web team is going to parse the RSS.
Is there any possible way to d...
I run a few side blogs that I sort of aggregate into my main blog.
I use simplepie to parse the feeds from my other blogs, so the posts are being created automatically.
My typical post is layed out like this:
IMAGE
CONTENT/TEXT
HYPERLINK
What I'm looking to do is automatically grab the hyperlink, and insert it into a Custom Field. T...
I'm receiving this error when trying to run a php script against my wordpress DB:
Fatal error: Cannot redeclare class wpdb
Can anyone help me to resolve this?
Edit
Code:
require_once(dirname(__FILE__) . '/../../wp-config.php');
require_once(dirname(__FILE__) . '/../../wp-includes/wp-db.php');
$wpdb->show_errors();
$dupes = $wpd...
Is there any way to configurate my wordpress blog to send an email, to a group in Exchange, whenever there is a new post?
I would like my IT department to receive the new post, or a notification of it, whenever someone writes one.
...
I've been making a wordpress theme recently and just now some of the code just stopped working. The post formatting disappeared and now I just have a paragraph with text inside it for each post! Here's the php code for the post:
<?php get_header(); ?>
<div id="content">
<div class="wrap">
<div id="leftcol">
<?php if (have_posts())...
I'm getting this error on my blog did some one had the same error? how can i fix the error?
I didnt edited any File.
Notice: Undefined property: stdClass::$post_type in /home/a4673438/public_html/wp-includes/link-template.php on line 105
Notice: Undefined property: stdClass::$post_status in /home/a4673438/public_html/wp-includes/li...