The tag has no wiki summary.

learn more… | top users | synonyms

16
votes
2answers
11k views

When to use is_home() vs is_front_page()?

I've found that is_front_page appears to return true when I'm viewing the home page and have a single sticky post assigned there. It also returns true when I've assigned a page as the static front ...
4
votes
3answers
995 views

Natural URL Design and static front page

A static front page and other pages which are children of it are used on a blog. To give an example: www.example.com The slug for that page shows up in the permalink for sub pages like ...
2
votes
2answers
1k views

Add .html extension to only one page in my Wordpress site

We had an old site that had html pages in it. One of the pages in that site was linked to from many other sites. Now we moved to a WordPress site, and we created a page with that name, but of course ...
2
votes
4answers
663 views

Creating “static” taxonomies to choose from, inside custom post type?

Alright, so i have a custom post type called Blurbs (translated, sort of). I want to add a static set of categories for the posts within Blurbs (i don't want the user to be able to create custom ...
2
votes
2answers
148 views

What's the easiest way to periodically (automatically) read static Markdown content into a WP page?

I'd like to sync my theme's README.markdown into a page on my site and would love to be able to only have to update that text a single time -- namely, when I commit my code up to BitBucket. I have my ...
2
votes
2answers
360 views

How do I maintain static directories on multisite subdomains?

I'm trying to migrate from multiple subdomain blogs to WP multisite. The one stumbling block is that I'm pretty sure the static files and directories on my subdomains will not be found; each of my ...
2
votes
2answers
925 views

WP Multisite Static Frontpage

I created a multisite and my question is as followed: Im trying to display a default static page for each new site. So when they create a new site, they automatically get a default page I made. This ...
2
votes
1answer
183 views

Publish pages/posts as HTML?

We're looking to use a plugin or custom setup for authors to create pages or posts and publish them as single HTML files. The file could be saved on the server in a specific directory or have a ...
1
vote
3answers
3k views

Display page content AFTER a loop of posts

This is probably easy once you know but I'm having trouble getting the static page content to appear AFTER a list of posts. I'm using a named page template which displays posts as a slider and I want ...
1
vote
2answers
29 views

How do I serve static content on same domain as wordpress

I have a portfolio site that I would also like to make a demo site for some of my client work. Basically I would like to server subfolder statically along side the Wordpress install. So for instance ...
1
vote
1answer
346 views

Cron jobs in a class

Having: pluginname.php // If this file is called directly, abort. if ( ! defined( 'ABSPATH' ) ) { die(); } define('PLUGINNAME_PLUGIN_URL', plugin_dir_url( __FILE__ )); ...
1
vote
1answer
45 views

How to archive a wordpress site (make it read only)

Is it possible to make a WordPress deployment read-only? For a website that won't be updated, I'd like to make it read-only/static, so the archive is there but nobody can post, so I don't have to deal ...
1
vote
1answer
235 views

Custom static page get_header error

I have a pretty simple question. I want to make a static about page for my wordpress site. I don't like the format of the wordpress static pages that are managed through the control panel so I thought ...
1
vote
2answers
471 views

Placing post data (title, date, and excerpt) nested in static content

I apologize if this is a newbie question, but I am very new to working with WP template files. I am working on a campaign site (that I unfortunately can't show you before the launch in a couple ...
1
vote
2answers
617 views

wordpress Static Page pagination

Im Using a post query in wordpress BUT the Pagination is not working, i don't know whats the problem BUT here is my code and i guess it's correct and no problem with it it shows that there is pages ...
1
vote
3answers
5k views

Recent posts on a static home page

I want a static home page on my wordpress website, I have already set this up and have a bit of content on it, the next step is I want to have 5 recent posts underneath the content. As a normal page ...
1
vote
1answer
1k views

Static front page with recent posts pagination

Is it possible to include index pagination on a static front page? I have a child theme of twenty eleven and I am attempting to have a home page where there is a slider for sticky posts followed by ...
1
vote
1answer
603 views

Point static content like css and js to cookieless subdomain

How can I change the links that WordPress generates for all static content like css, js, png, jpg, gif, etc to a cookieless subdomain? I don't want to use mod_rewrite. I want the PHP code to replace ...
1
vote
1answer
396 views

How to implement pagination in backward way eg. first - 20 - 19 - 18 - … - 3 - 2 - 1 - last

How can I implement pagination in backward style, like shown in the title. (newest) first - 20 - 19 - 18 - ... - 3 - 2 - 1 - last (oldest) I have search plugin, there are not yet plugin for this. ...
1
vote
1answer
419 views

How to Call a static page in WordPress

Hi I created a template within my theme files, just for displaying a map in a lightbox. I need to call this template page from a normal wordpress post, how can I do it? Say in my theme files I have ...
1
vote
2answers
1k views

Static files or dynamic WP pages for “static content”?

Ok = I've looked around a lot for a clear answer to this, but find very few real answers. I would really appreciate some info from experienced individuals. A tiny bit of background. I've worked ...
1
vote
1answer
262 views

Setting a static home page and blog page without using the settings

This may seem like a stupid question, and it probably isn't possible, but is it possible for me to set a static home page (using front-page.php) and a blog page (using home.php, I think) in my theme, ...
1
vote
2answers
305 views

Why does `url_to_postid` return 0 when testing `page_for_posts` Page?

If I set Reading Settings > Posts Page (in other words, the page_for_posts option) to a static page, and then attempt to pass its URL through url_to_postid() it will return 0 - why is it? I ...
1
vote
0answers
183 views

Static raw HTML page

On the server there is a static HTML page example.html in my root folder of the WordPress install. Now when a user types www.example.com/example.html I want WordPress to be smart and bypass all normal ...
1
vote
1answer
404 views

Edit raw HTML of the landing page

I just created and set up a landing page for my blog. I use Weaver theme. I checked every checkbox to remove all the stuff I don't want ( Hide Page Title, Hide Site Title/Description, Hide ...
1
vote
2answers
496 views

Set static page as default front page on newly created sites in multisite

How to set a Static page (example Sample Page with every WordPress install) as default fron page for every newly created site on multisite network. I mean when a new user creates a site on my ...
1
vote
2answers
115 views

For homepage images (for small business website), is it better to use custom fields or post_thumbnail?

Already searched on here and couldn't find question so forgive me if it's been asked. I'm trying to use dynamic images on a homepage so my client can maintain the images. I've seen tutorials where one ...
1
vote
1answer
249 views

Migrating static site to multisite with multiple domains and subdomains

ok, here's an overview as this is a bit of a tall order:) i need to migrate our entire site into wp. right now we're just using wp for a blog page (installed in subfolder w/ subdomain), and all other ...
0
votes
2answers
3k views

Static page homepage not showing the_content

I must be doing something wrong here. I setup my site with a static front page using front-page.php. I created a page in the admin with a title and chose the front-page.php in the template dropdown. ...
0
votes
3answers
62 views

Is there a way to create a template that does not have the site styling associated with it?

I recently completed a WP site for a client and they would like to be able have some static pages added to the site that do not have the header, footer and navigation on it. These pages would then be ...
0
votes
2answers
847 views

Static Front-Page Excerpts

Working on a new site, I'm trying to plant recent post excerpts on a static front-page. I had been doing all my static content outside of wordpress (as static files), but was convinced to pull ...
0
votes
2answers
45 views

Add a static page that links to homepage

My home page is a dynamic page and on my navbar I have different static pages I want to add one to link to the homepage as if I clicked the logo.
0
votes
3answers
58 views

Trying to uninstall a theme, but it's hijacking my home page

I'm trying to install Thesis on my blog, and I'm having an issue that's caused by the theme that's currently active, which is Structure by Okay Themes. This theme created a static home page when I ...
0
votes
1answer
129 views

Static homepage duplicate issue

I already made a post on official wordpress forum,but hava no replay to my question. Also made a search in the forum here and in Google as well but couldn't find solution for my problem. I'm using CMS ...
0
votes
2answers
215 views

Create page template with some static contents

I am new to wordpress. I searched page vs post and found that pages are mostly static contents (in the sense that they dont need to be changed and stays in its place for ever). My question is my ...
0
votes
2answers
2k views

Wordpress Query Posts From Category Post on Static Page

So I'm trying to query some posts from 1 category only and it does seem to be working. I tried get_post() also but no luck and after awhile I just caved and used query_posts (which is apparently bad ...
0
votes
1answer
49 views

How to add posts list to a page template?

I need to create a page which will have static content in the right column and list blog posts in the left column. The static content needs to be editable from Dashboard > Pages > Page. How do I do ...
0
votes
1answer
186 views

Static pages not working

I have been successfully using a static front page on a theme I am building (locally so can't share URL) without any issues. Suddenly it has stopped working and I can't work out why. I now see a blank ...
0
votes
1answer
387 views

Linking Javascript in functions.php file

Below is my raw javascript embeds from my html template. But I cannnot figure out exactly how to add it to my functions.php file. It seems pretty difficult. Can you please assist with the correct ...
0
votes
1answer
17 views

Get rid of “comment” field on non-blog pages [duplicate]

How can I get rid of "comment" field at bottom of page I want to use as a static page or pages on site such as "About" ; "Contact" , etc.
0
votes
1answer
85 views

Using static pages on Wordpress site

I built a few static pages in HTML while I was practicing some techniques. I would like to include those pages (and that hard work) in a word press site. I have already created the WP page that hold ...
0
votes
1answer
79 views

How do I fix my static page

I have tried a few option with static pages. First i created a template called homepage.php and had it designed a certain way, and also on that template were the post. Then i created another template ...
0
votes
1answer
129 views

Noob Question - Buddypress Dynamic content on static page

Sorry for posting such a noob question but I am totally stuck and don't know what I am looking for. So basically I have a buddypress website with a static homepage. On the homepage I need to add a ...
0
votes
2answers
65 views

How can I create a basic PHP that can lives outside WP?

I am trying to do an email subscriber form and I would like to implement my own solution. I do not want to spend hours trying to figure out which Plugins is the best. Spending more times to install it ...
0
votes
1answer
155 views

Auto Changing Text Case

So I'm using all static pages and I specify that in my WP settings. When I specify what the 'Front Page' should be it turns my link in to Title Case instead of all Capital Letters like I would prefer. ...
0
votes
2answers
96 views

Pages that don't look like blog posts?

I 've been scouting around for answers on creating static pages (that means NO BLOG POSTS of any kind) on pages where you don't want ANYTHING that looks blog related, (posts, leave a comment, date ...
0
votes
1answer
323 views

Any Good Wordpress Client Like Live Writer To Create Static Pages

I want to publish static pages on Wordpress quickly. Live Writer is a very good client for formatting and publishing blog posts. But I couldn't find a way to use it for publishing static pages. Is ...
0
votes
0answers
30 views

Using a JQuery Plugin on a Static Page

I have recently stumbled upon nicinabox's JQuery SuperSlides plugin and I would like to use this as a static front page for my WordPress website. The usage page ( ...
0
votes
0answers
16 views

Setting up a cookieless domain without being able to change the root via cpanel

I have this websites that allows the registered users to upload images, etc. Thus I get tons of image uploaded to my wp-content/uploads. Now I want to create a cookieless domain in order to speed up ...
0
votes
0answers
28 views

How to integrate gallery into another website?

I don't want to create nor edit an existing theme, so I've followed this tutorial teaching how to integrate the blog posts into a static website I've created. It happens that I need to call not the ...