The premise of the site is that a user pays a small fee to advertise an item that they want to sell. Therefore the user is responsible for adding the "products", not the administrator. The product upload will create a product page for that item. This is a rather common framework that I'm sure you're familiar with.
My initial thought was that it…
I have a wordpress page with two or three sub-pages ("TV", "WEB", "WATCH") and I would like to have the sub-page links on the page itself.
So, far, I can pull the sub-pages the following way:
<?php
$children = wp_list_pages('title_li&child_of='.$post->ID.'depth=1&echo=0');
if ($children) { ?>
<ul>
<?php echo…
Hi there,
I recently edited the robots.txt file in my site using a wordpress plugin. However, since i did this, google seems to have removed my site from their search page. I'd appreciate if I could get an expert opinion on why this is so, and a possible solution. I'd initially done it to increase my search ranking by limiting the pages…
This is the regular expression used for "shortcodes" in WordPress (one for the whole tag, other for the attributes).
return '(.?)\[('.$tagregexp.')\b(.*?)(?:(\/))?\](?:(.+?)\[\/\2\])?(.?)';
$pattern = '/(\w+)\s*=\s*"([^"]*)"(?:\s|$)|(\w+)\s*=\s*\'([^\']*)\'(?:\s|$)|(\w+)\s*=\s*([^\s\'"]+)(?:\s|$)|"([^"]*)"(?:\s|$)|(\S+)(?:\s|$)/';
It…
I've got a WordPress powered blog that I'm trying to get setup on our IIS6 server and everything works besides the permalink structure which I'm having a big headache with.
After googling around/wordpress codex I learned that it's because IIS6 doesn't have the equivalent of Apache's mod_rewrite which is required for this feature to…
Hi out there,
my challenge is to built a video portal, based on wordpress (blog already started).
so in the backend there must be a option to add, tag, descripe videos and in frontend the videos must have a comment function, must be searchable and so on.
wordpress gives already a large amout of functionallity and i want to use…
Hi,
I’ve throughout the last couple of years downloaded a lot of templates for websites and these are now starting to become chaotic in the different folders so I’m starting to get a overview of the different templates.
Regarding to this I was thinking about the way that WordPress displays the different themes installed in the…
I posted a similar question earlier today but this question is clearer.
I want to locally develop my Wordpress websites (on my Mac) and test them in Internet Explorer (6,7,8) on Windows XP.
I can get the MAMP welcome screen to show in Windows XP, so I know VMWare is doing it's thing.
The local URL for my site (on my Mac) is: …
Hello Everyone,
I was working on a site of Cakephp which was successfully delivered.But recently Client again appered and asked me to put the Wordpress blog in it,to cover up the Blogging thing in his site.He wants to share the authentication between the Cakephp and WP.Whoever registers in his site,then Logins in it and if he…
I have a client who's wordpress sites have gotten hacked twice by iframe scammers. Each time they've injected iframe code into the content of the sites.
This last time, today, they simply changed the siteurl in wp_options to their iframe code. The result was obvious and appeared to simply botch the paths of the scripts that…
I've been having issues on creating new wordpress blogs where I'm setting permalinks via script on theme activation. However, even though they appear to be correct when I check the permalink settings in WP, my new pages are throwing 404 errors.
The only fix I've found is that I have to go back to permalink options and click…
Hey guys im in a very confused state of mind at the moment and need some help with Word Press and generally starting a website. My parents have had a business for 20 years and have finally decided to get a website!
As im studying IT and Business i said id get it done for them. Rather than design it from scratch i used a…
Hi all - this is driving me absolutely nuts. I'm not the most experienced with CSS, so I'm hoping it is something simple.
I'm running Wordpress 2.9.2 with "The Morning After" theme.
I am trying to write a post where I want to display two small pictures, with captions, side-by-side and centered in the middle of the page.…
I need to build a solution which will allow registered users of a Wordpress site upload videos to the server and have them moderated before being published on the site.
Failing that, I would like to let users upload their file, then the Admins would check the video is appropriate, upload it to youtube, and manually…
Hi i working on a wordpress plugin where i'm getting data from a remote API. at irst i used cURL, but after reading this blogpost i started using WordPress HTTP_API instead. but i've got onw problem. The API answers are Gziped, and i havn't figured out how to decompress them. The Codex page is talking about an…
This is really just a syntax question.
I have a PHP script that parses my WordPress feed and returns the latest posts. I also want my script to parse the # of comments, but the WordPress feed XML object for number of comments has a colon in it (slash:comments). It causes the following error:
Parse…
Hello,
I've been searching for quite a while now to find a way to limit wordpress tags by date and order them by the amount of times they appeared in the selected timeframe. But I've been rather unsuccesful.
What I'm trying to achieve is something like the trending topics on Twitter. But in this…
I've been looking at Wordpress plugins for photo galleries (so maybe this is for superuser.com), and I've been very frustrated so far. It seems like what I'd like to do would be a very common use case:
Admin: Be able to upload multiple pictures (at a time)
Admin: Be able to assign a "gallery" to…
I'm taking my chances with WordPress 3.0 beta 1 (single user)
Unfortunately, i ran into problems with d13slideshow.
I configured the plugin to display 5 latest from a category, added <?php d13slideshow(); ?> to home.php, but it bombed:
function.getimagesize: URL file-access is disabled in…
I want to create a custom page for my Wordpress blog that will execute my php code in it, whilst remaining a part of the overall site css/theme/design.
The php code will make use of 3rd party APIs (so I need to include other php files)
How do I accomplish this?
N.B. I do not have a specific…
I created a blog with Wordpress on a temporary test domain. I put it in the main directory, not a folder. Now I want to move it to the correct website, in a folder. I can update all of the MySQL values for the site URL, and the relative path links work just fine.
The problem is that I can't…