Pages are static, timeless content that are unique from the regular blog chronology.
0
votes
1answer
23 views
Page specific values in widgets
I have a travel guide website which I have created with WordPress which contains destination guides. On the destination guides pages I have a sidebar which displays destination statistics (currency, ...
0
votes
1answer
19 views
Hide pages depending on role
I've been trying to find a way to limit the user from seeing some pages in the "pages" menu in the admin panel.
I looked in the edit.php file and noticed:
} elseif ( 'page' == $post_type ) {
...
0
votes
0answers
11 views
Redirect url in plugin to somewhere else?
I am using WP-SNAP Extended! v1.0.0 and I want to use this alphabetical menu as a sub-menu beneath my header. I managed to get the alphabetical menu in place, but now, if I click on a letter, it will ...
0
votes
1answer
14 views
Setting limit to posts or page creation
This is regardging to On multisite installation and setting limit to content creation by sub-site admins.
I want to set a limit for posts,pages or any custom post types for any sub-site admins. So ...
0
votes
4answers
32 views
I want only my sub-pages to be clickable in the navbar
I am building a simple website with a number of pages, each of which is grouped.
Let's say my website has roughly 20 pages, grouped into 5 categories. So I want my navbar to display the 5 categories, ...
-1
votes
1answer
10 views
How to reduce space between menu and page content? on Themify - funki theme [closed]
It would be great if someone could help me with this... I would like to reduce the space between my post (a picture) and the main menu, how do i customise the padding(not sure if it called padding)! ...
0
votes
0answers
26 views
Template for page with overridden Theme
I think I've got a somewhat uncommon issue. My wordpress site uses a custom theme, but I wanted to add a blog alongside that, without using multisite because my host charges 3x the amount for such a ...
0
votes
2answers
35 views
Identify the page being shown while in The Loop
In my loop, I'm trying to set it so that certain text is displayed on certain pages, if there are no posts to display.
I thought this would be simple, using is_post(), but it seems that this function ...
0
votes
1answer
31 views
Parent for a single (single.php)
Is it posible to get the parent ID of an single page.... I mean not a Page I mean an is_single()... page.
I have a page witch contains some custom posts and when I click on one of these i came to the ...
0
votes
1answer
19 views
Retrieve page content and pass to PHP?
I'm new to WP but not PHP.
I've a custom page that I have a PHP call to do some processing on the page content.
the_content() even when enclosed in a function call
<?php ...
0
votes
0answers
26 views
How to dynamically change spots of text in custom page?
When I create a page I'm suppose to describe the content on the editor of Wordpress. When it's a simple text with some images its ok.
But the problem is: My custom layout has a lot of deep HTML and I ...
0
votes
0answers
20 views
How to display all values of a multicheck array if they are checked?
I'm really a rookie to PHP, i'm using the customfield fields&meta boxes plugin for wordpress.
Normaly when i register a customfield,
i display them by using:
<?php if ( ...
0
votes
0answers
23 views
Breadcrum not displaying the parent page
I have few pages
- HOME
- SERVICES
---- MY SERVICE
My problem is that when I open My service page the breadcrumb looks like this:
home > My service
And I would need the parent to be there:
...
-1
votes
0answers
20 views
Custom page + query separate block before normal post on static page
I have a static front page on which I would like to have one area where i have just two columns with specific posts which is going ok for now. I have made a template with the code but the problem is ...
0
votes
2answers
46 views
Interrogate a page within a loop to check template type or custom meta data (Pages vs Posts)
I've spent a few days researching working with WP static pages - as separate from posts.
Although I've found useful guidance, I can't seem to find any good tutorials or worked examples that show me ...
0
votes
0answers
21 views
how to show posts from a different categories under different pages
hi how can i show posts under categories to display on pages on the main menu
e.g : 10 posts from category A to be displayed on page 1
and 10 post from category b to be displayed on page 2
...
0
votes
0answers
44 views
Virtual Pages and Yoast Wordpress SEO
I use Yoast Wordpress SEO and just added a plugin that generates some virtual pages that I want to be indexed. Is there any way to cause virtual pages to be added to the XML siemap?
0
votes
1answer
30 views
Remove specific published page when theme deactivated
I am working on developing a theme which automatically creates a page on theme ativation. But the problem if when the theme is switched and activated again, it recreates the page.
is it possible to ...
2
votes
1answer
31 views
How to highlight the current page in the nav menu?
I'm customizing a WordPress theme for my school, and I'm a bit annoyed by the fact that the current page in the nav menu is not indicated.
For example:
You can clearly see that I'm hovering over a ...
1
vote
1answer
43 views
PHP Script within wordpress theme
I have a php script that I'd like to utilize within my wordpress theme. I'd like to restrict access to the page based on users belonging to particular groups so it's important to keep it within ...
-1
votes
1answer
48 views
Custom SQL Query for Wordpress page
I'm quite new to wordpress.
I'm trying to build a tableview within a wordpress page. Therfore I need a custom SQL Query to my MySQL Database.
Query data from my MySQL Database
Get the result somehow ...
0
votes
1answer
14 views
How to make in post Parent page children page list nummbered
Parent page
veggies
Its children pages are
carrots
peas
potato
How to put in post numbered list of Parent page?
Maybe better how to make same list to be ordered by date posted so some ...
-1
votes
0answers
31 views
Display Child Pages, title and excerpt on to homepage
I would like to do something like shown below, but don't know the proper code. I basically want to pull the title and excerpt of child pages and display it on the homepage. I want to be able to list ...
0
votes
0answers
33 views
Displaying only posts from a certain category on my custom page template
I want to create proper pages for my post categories, rather than just a default category page. So for example, I'm going to create a Video page and have a load of information about my videos, and ...
0
votes
3answers
42 views
How do I find PHP file that contains content of my page?
Let's say I have created a page in admin dashboard and put some content in it.
How I can find PHP file in my hosting file manager that contains that content?
0
votes
1answer
21 views
How to make title for home to be News, but if page has parent then its name else just post/page name
Made own template from scratch and tutorials.
This is showing description of post/page Title and in home its showing website name.
<h3><?php is_home() ? bloginfo('description') : ...
-1
votes
1answer
47 views
Woocommerce - Making product pages child of shop
I'm new to WordPress and trying out woocommerce, but I've ran into a small problem.
Here is my site.
The products pages are no childs of the Shop page, so whenever I click on a product, the active ...
0
votes
1answer
22 views
What's the most minimal way in which a page can be hooked into WP?
I do a fair bit with custom API's on WordPress-based sites, typically by creating page templates.
However, creating a custom page template, then creating a WP Page that utilizes it is kind of a pain ...
0
votes
2answers
69 views
How to display page title+link of page created by user
I want to check if user is logged in and if have created a page. If so, option 1 is shown. This all works fine.
But how to display page title+link of page created by that user between {page title ...
0
votes
1answer
52 views
Wordpress theme: Add page content to the bottom of the Contact form
I am using the following wordpress theme, which is pretty cool btw.: http://demo.s5themes.com/?theme=simplecorp
Now the site has a custom Theme Options build in, where you can specify all the content ...
-1
votes
0answers
12 views
show only one page with subpages of certain category
i have following setup, and just cannot get it to work.
Under the first-level page "Projects", i have different pages (projects)
with the category "project".
In the Template (for the Projects), i ...
0
votes
0answers
24 views
Pages half/not working.
If someone could please look at our website and have a look it'd be really appreciated. On one of our catergoires (rentals>sconces) page one works fine, but the remaining 3 dont. ive read in a couple ...
0
votes
1answer
34 views
CSS Styling for a Page/ Site made with Pagelines
I know how to change the HTML of page inside wordpress but for some reason I can't find the CSS for the page I'm looking for. I can find a huge amount of code made by Pagelines(Is it in there?). The ...
1
vote
2answers
47 views
Two Search pages, One search form
I have a search form that I want to place in multiple pages (it will be in different header types) I do this by using the 'get search form' function. On my Search form I have radio sections listing ...
3
votes
1answer
55 views
How to count current user's pages?
There are a lot of answers on how to count users posts by using:
<?php
if ( is_user_logged_in() ) {
global $wpdb;
$user = wp_get_current_user();
$where = ...
0
votes
0answers
23 views
%page%/number didn't return 404 but redirect to /%page%/
I've got page, for eg. /about/
when after slash I put some numbers (not letters) I still get this same page.
I really want 404 there.
Why? What to do to avoid that? SEO itp...
0
votes
1answer
43 views
pages won't show on front page using loop or pre_get_posts
I changed up my theme to work what I think is the "proper" way. After reading in the codex and seeing things on this site.
I started from scratch. loaded the 2012 theme. Made two pages. Home and ...
3
votes
2answers
104 views
Pass PHP variable to javascript
Is there any possibility to pass some PHP variables in javascript so I can use them later?
Only in single.php.
I heard about wp_enqueue_scripts but with that it is neccesary to declare a path to a JS ...
0
votes
1answer
53 views
Custom wp_list_pages() function
I have following code in my .php file:
$my_pages = wp_list_pages("title_li=&child_of=".$my_id."&echo=0");
Then I create an <ul>
<ul>
<?php echo $my_pages; ?>
...
0
votes
0answers
17 views
Why do Admins and Guests see different pages? [closed]
For some reason when I'm signed in as an Admin I see different content on my custom pages versus when I'm signed in as a Guest. I tested this by adding "TEST!" to the top of the page. I can only see ...
0
votes
0answers
20 views
Page missing: tiger-m@te
I recently took a site live, installed WP Better Security, and noticed immediately that this site was facing a lot of hacking attempts.
About a day later I realized that one of the pages refuses to ...
1
vote
0answers
30 views
Can I create multiple instances of the BuddyPress Activity Stream with separate themes?
I'm trying to take advantage of BuddyPress 1.7's new theme independence to effectively create different pages and instances of the Activity Stream with different themes.
I can use HeadSpace (an ...
0
votes
0answers
25 views
Cant retrieve $_POST inside page, just header
Here is the full code:
http://codepad.org/BpqQ3Xm0
Line 113, I am sending $_POST["popust"] ; And I use it to compare value at the top -line 33. But if I want to echo it, print_r, var_dump, inside ...
0
votes
0answers
24 views
Display posts on a separate page from certain authors?
I've been working on this for days. I've tried the WP codex, Google searching, etc, and I know I'm not doing something right but my patience has run out :( .
I have 3 authors. I am trying to display ...
0
votes
0answers
28 views
Adding New attribute in wordpress
I'm using Wordpress to implement the website:
The pages in my templates should be sliding vertically, so there is a 'Next' button in the end of each page. Now my problem is in the admin section ...
0
votes
0answers
34 views
Pass data from one page to anothe file/page in wordpress
I have my custome theme in wordpress.This is the path of my custome theme.
C:\wamp\www\wordpress2\wp-content\themes\sscy1002\sscy1002
I have created a Page in wordpress which contains some form ...
4
votes
1answer
107 views
Create a “Dummy” parent page for a hierarchy in page listing?
Is it possible to set up a "dummy" page - just a page title that appears in the page listing, and a page that is not editable and doesn't have a slug?
This is more of a hypothetical question, as I ...
0
votes
0answers
28 views
Incorrect template is being loaded [closed]
I have a custom category.php template within a theme which used to work.
Since making changes to other template files for other types of pages, this has stopped working.
Whenever I attempt to visit ...
0
votes
0answers
41 views
How to create a structure in wordpress for parent and child relationships contents
Could any one tell me how to do the following structure in wordpress whether using taxonomy, term , post or page
Example :
Parent
A -- Title -- Description
B -- Title -- Description
C -- Title -- ...
0
votes
1answer
57 views
wp_dropdown_pages with tax_query clause
I'm display a dropdown list of custom post types in wordpress. This first block of code uses WP_Query
$houseQuery = new WP_Query(
array(
'post_type' => 'house',
'order' ...




