Hi!
Currently I have to think of a solution for generating and maintaining lots of static landing pages for a membership-only e-commerce site (e.g. we sell products X, Y and Z but only to our members and we want to make a (SEO-friendly) landing pages for each product). Each page would be almost unique in content and the meta data but th...
I'm trying to put together a simple RSS widget (for my wordpress blog) that will show a list of stocks, or markets, and their current prices.
I cant seem to find an API for this data anywhere - can anyone suggest such a thing (perhaps as an RSS feed?)
...
Lately I've been thinking a lot about building a website/blog/community oriented site. However I can't decide if it's a good idea to build it using Wordpress as a base.
I've been reading around the Internet, and I've seen that many users have trouble with Wordpress using lot of CPU and other resource related problems.
So, what do you t...
I am trying to embed a map widget into a wordpress blog.
Visitors to the blog should be able to place a marker on the map and others should be able to view places that other people have marked.
It should not require people to log in before placing a marker.
Can anyone recommend such a service?
...
I am looking for an easy to use CMS that can be used to host a multilingual website with photo galleries and few forms.
I am open to php/python excluding wordpress/joomla/drupal.
...
I created a custom taxonomy named 'technologies' but cannot query multiple terms like I can with categories or tags.
These querys DO work:
query_posts('tag=goldfish,airplanes');
query_posts('technologies=php');
However, neither of the following work correctly:
query_posts('technologies=php,sql');
query_posts('technologies=php&tech...
I tried adding a frontpage.php file to the content directory, but that wasn't being loaded. Now, I've added the following snippet to assure I'm getting a context of 'frontpage':
add_filter('cfct_context', 'scompt_front_page_context');
function scompt_front_page_context($context) {
if( is_front_page() )
return 'frontpage';
...
hi there,
My wordpress site is a bit heavy to download. On the frontend, its including jquery unnecessarily. In my firebug it looks like:
jquery.js?ver=1.3.2
and
jquery.form.js?ver=2.02m
I don't need these to be included for me.
I'm happy for them to remain in the wp-admin, but I'd like them not to load on the frontend.
I have found...
Hi, I am trying to intergrate this http://www.sohtanaka.com/web-design/easy-toggle-jquery-tutorial/ into wordpress. IS there a way to get custom divs for certain post I basicly just want to make a page like this http://s72956.gridserver.com/dev/toggle/toggle.html updatible in wordpress.. any Ideas?
...
I'm working on a website at the moment, and the navigation works as follows (by client specification).
Underneath the header there is a horizontal navigation listing the top level pages, clicking on one of these takes you to page.php, which has a vertical navigation in the sidebar listing the sub-pages of that particular page like this:...
I have been trying this for hours
<?php
if ($_SERVER['SERVER_NAME']=='http://www.testground.idghosting.com/idi' && $_SERVER['REQUEST_URI'] == 'our-production/') {
echo '<div id="services">
<h1>Our services</h1>
<a href="<?php bloginfo(\'url\'); ?>" id="serv_productions" title="Our Productions"><span>Our Productions</span></a...
FINAL EDIT: I've summarized and simplified this crazy question into a new question, so we can close this Q or whatever is necessary to mark it resolved. Thanks again!
NEW:
Can you tell me your opinion of this, and possibly see if you can recreate it:
Currently, the $post->post_content variable contains:
"before <img src="/path/to/val...
Can you tell me your opinion of this, and possibly see if you can recreate it:
Currently, the $post->post_content variable contains:
"before <img src="/path/to/valid_img.gif" /> after"
This code placed at the top of the theme header.php...
------ Code --------
1: $str = $post->post_content;
2: assert( isset( $str ) );
3:...
Can you tell me your opinion of this, and possibly see if you can recreate it? There are TWO scenarios:
SCENARIO 1 (works as intended)...
The $post->post_content variable contains this (with a VALID image src):
(string) "before [hw] <img src="/path/to/valid_image.gif" /> after"
This code placed at the top of the theme header.php...
...
Hi there,
I have a simple div which I don't want to load if the visitor loads up a certain URL.
It looks like this:
<?php
if( stristr($_SERVER['PHP_SELF'], 'blog') == FALSE )
{
echo "<div id="stuff"></div>";
}
?>
Problem is... it doesn't work... when I load up www.url.com/blog the div#stuff still shows.
Am I just lacking sleep or...
I have content from elsewhere that I would like to insert as a post in Wordpress and then associate with an existing category. It is pretty straightforward to insert a new post into the wp_posts table, but I can't seem to figure out how to construct a query to both insert a new post and at the same time associate the post with a categor...
Being new to PHP, and with a lot riding on this "function wrapper", I thought I'd get a few opinions and a little feedback. I'd like to get about five comments, if possible.
Now before you ask, I have many reasons for wanting to wrap other (WordPress) functions, the primary being hassle-free upgrading. It was also important for me to b...
Seems like the problem with this is the PHP syntax, but no luck in Wordpress forums. This first code block generates a link to the newest post in category "posts."
<?php $my_query = new WP_Query('category_name=posts&showposts=1'); ?>
<?php while ($my_query->have_posts()) : $my_query->the_post(); ?>
<a href="<?php the_permalink() ?>" r...
Hello, I am running a website using wordpress and some javascript that changes the page see http://s72956.gridserver.com/dev/ My menu position I want to be static at 150px down 800 right and not move when I change my browser window to any size. Currently when I try position static it moves when I clikc on one of my javascript links that...
I want my wordpress blog to have a page called music. On that page I will query the DB for posts with the category music and then change around the look and feel of the posts. So I can't just put a link to "/categories/music/" because I want to do custom work on the posts.
Should I put this code in a separate php file and link to it? ...