Hello-
I am coding a wordpress theme for a magazine. One aspect of the site, is that the homepage is static, and it features the current issue of the magazine in one area of the homepage. I need help figuring out the most practical way of replacing content for the most recent issue on the homepage.
Basically, every month, an image, as...
First, I've only programmed a lot of HTML, know a little PHP and am playing with Wordpress, experimenting and learning it the way I learn everything else, trial and error, heavy on the error.
The subject line isn't very clear I'm sure. I have a site set up for writing. The posts act as categories and to a Page menu for static submission...
I have a site whose home page shows a single Wordpress category page. I'm using a custom theme and the index.php file there does a 301 redirect to "mysitename.com/?cat=3". This page is generated with an event calendar plugin and a lot of custom code. It works, but the displayed URL is "mysitename.com/?cat=3" which I'd prefer my visito...
Hi, I am working on a wordpress plugin that modifies the title of a post. I only want to do this when I am viewing a single post. To be specific, I want to add a link beside the title, but for purposes of the question, I will be adding some arbitary text.
I started out by using the 'the_title' filter hook, and calling this function.
fu...
I was wondering if it is possible to pull in data from a Facebook Page (not a profile page) to a wordpress blog?
...
I have a couple AJAX requests being used in a theme options page. Both worked just fine before, but now the first works and the second fails every time - the failure looks like this in Firebug: http://cl.ly/1w5u and this is in Webkit: cl.ly/1wYn. I'm not getting ANY response of any kind. The thing is, the first one works just fine.
Here...
Hi all i am the next issue
this is my source code of my index i am using wordpress 3
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
the problem is it have 5 blank lines before the doctype i revised the function...
In Wordpress Media Settings the Thumbnail size we can crop thumbnail to exact dimensions.
But for the Medium size no option to get exact dimensions. There have a way to force exact dimensions for medium size?
If yes, how to implement to the functions.php
...
This is a doozy of a question...
I am developing a new wordpress website to replace my client's massively sized blog (tens of thousands of pages). Their existing blog is built on a custom PERL blogging platform from 1992...so as you can imagine, it needs updating.
My job is to find the BEST possible way to migrate all of their existing...
I'm using NGINX with Passenger to run a rails application on an Ubuntu server.
However, I'd like to have the rails app served from www.mydomain.com/store , and have
a wordpress install served from www.mydomain.com.
How would one go about setting up the nginx.conf?
...
How to convert MySQL to SQL Azure? I have a Wordpress site, and I would like to put it to Azure Platform. How can I achieve it? It seems not easy.
Any shortcut?
...
wordpress , plugins : hi , I want to create website by wordpress but I want to make speacial plugins .. and I made it but there are problem .. _
I have a website and I using it with wiki for contries in the world ..
I want from the plugins 'when the visitor open the page for example 'United State' , I want from the plugins to search ab...
I have the following site structure
Parent Site
-> blog (wordpress)
-> get-recent-posts.php
-> index.php
I want to display a list of recent posts in the index.php. I am trying to use wordpress api functions in index.php but it is not working. If i try to directly run get-recent-posts.php it shows the posts but if i include it in in...
I've set up a WordPress navigation for my single.php template that gets the previous and next post's thumbnails like this:
<?php
// Newer posts
$nails_next_post = get_next_post('%link', '', FALSE, 3 ); // Get the previous post
$nails_next_post_thumbnail = get_the_post_thumbnail($nails_next_post->ID); // Get thumbnail
?>
<?php if (...
I'm trying to add two loops to a theme on two separate pages: home and blog.
Blog is basically an index of the posts. It's what most Wordpress pages default to as a home page. To accomplish this I went to "reading settings" and set "front page displays" as 'static' with "front page" set to a Home page I set up in Wordpress pages and "p...
I am very new to WordPress, so I would appreciate some help.
I am using WordPress as a CMS, and I am trying to make the thing work so that when I select a page to edit, there is a special box where I can input PHP code that will execute on my page.
I have found the PHP exec plugin, which works perfectly, but I would like to keep the co...
Hi,
I am adding a new file called subtypes.php to my theme /library/includes in order to allow for a dynamic dropdown list. This file uses functions from /library/functions/custom_functions.php.
The problem: whenever I call any function from custom_functions.php, I get fatal errors: Call to undefined function add_action(), other times...
I recently did a big update on my wordpress site, thus some old permalink are invlid now.
Seach google for a tutorial on this and found a lot about static html page redirection examples or specific php page which are not what i'm looking for
Both my old and new permalinks are in path format, for example, i need redirect a couple urls o...
Example I want use the_excerpt in two locations. On functions.php I add
function new_excerpt_length($length) {
return 100;
}
add_filter('excerpt_length', 'new_excerpt_length');
Question.
How to make another function to accept another the_excerpt will be 200 characters?
Or another solutions.
How to make something like this.. Dyn...
Is there a way to downgrade any Wordpress plugin after upgrade? My client upgraded all plugins and now up-gradation of some plugin creating problem.
...