Tagged Questions
0
votes
3answers
63 views
Display additional page templates and a sidebar on plugin activation
I'm developing a child-theme off of the Twenty Twelve (1.1), using Wordpress (3.5.1) and the Woocommerce plugin (1.6.6).
I've noticed that the problem with creating the online shop, single product ...
0
votes
0answers
21 views
I am having trouble locating which file I need to edit to accomplish a simple text change [closed]
I recently inherited a site from someone and have been making changes here and there. To be frank, I am decent with HTML and learning PHP and CSS as I go..., so I am a bit of a noob.
This is the ...
4
votes
1answer
337 views
Getting only direct child pages in WordPress with get_pages
I am trying to fetch all direct children of a page. But I am getting all children and grand children as well. Any ideas?
PHP Source:
$args = array(
'child_of' => $post->ID,
...
0
votes
1answer
44 views
Tables not showing divs and loop/php items
I know this is an absurd questions, as who uses tables anymore? I got handed this and just need to make it work really. I don't know anything about tables so it's been a learning experience.
I ...
1
vote
1answer
105 views
Changing the template hierarchy
Is there an easy way to change the WP default template hierarchy?
For instance;
Say I want to change my theme directory structure so that it completely changes from the Template Hierarchy suggested ...
1
vote
0answers
88 views
Automatic Shortcode Creation with Custom Fields
This is basically a php issue as I'm fairly new to it and can't figure out how to code things the way I want. I am basically trying to pull information from custom fields (grid reference) and post ...
0
votes
2answers
41 views
Page template is accessing the incorrect posts?
Hi I'm attempting to create my own custom template that will have a format like this:
<?php get_header(); ?>
<div id="container">
<div id="top-half">
<!--fixed ...
0
votes
2answers
136 views
How do I add my PHP app to a Wordpress page whilst keeping semantic URLs?
I am rebuilding a static website for a client using Wordpress on the main domain- eg domain.com. There is also a directory of members website at directory.domain.com which I was hoping to migrate over ...
0
votes
2answers
82 views
Editing a PHP file to include a small text piece on every page
I'm building site (dummy site is up at www.teamcoding.ca/corporate) and would like to include in the upper-right hand part of the screen, "Switch to Lifestyle Site" with a link to a different site.
...
0
votes
1answer
354 views
Dynamically change Custom Post Type Template OR Change Permalink?
I have built a plugin that uses a custom post type and a single-.php file for a template. My issue is the custom post type template needs to take on the name of the post type and I need to change ...
2
votes
1answer
1k views
how to add a .php file to wordpress
I have a php file in my server (say www.example.com/up/up.php). If i access that file through the url, my site says no page found. but i want to call that php file using url parameter. I want to call ...
0
votes
1answer
275 views
How to hide all child pages with post_query?
i have a page template as start page(home.php). i use a 2 columns grid to display all pages on that home.php with title and excerpt. unfortunately also my child pages are shown and i can't figure out ...
1
vote
1answer
180 views
Easiest way to show total number of subpages
I am making a portfolio site where each portfolio entry is a subpage of "Work". In my template, I am trying to say something like: worked on 15 projects and counting, where 15 is the total number of ...
1
vote
2answers
197 views
Can I install/embed Wordpress on a 'single page'?
I'm building a website from scratch (PHP, jQuery) and want to have full control over the design, implementation, etc.
I want to install Wordpress so that when you go to a certain section of the site, ...
2
votes
1answer
118 views
Help with a custom page template - listing contents of childpages?
hey guys,
I have no idea how to solve the following problem.
I'd love to have a page-template that lists all it's child-pages but with the content.
e.g. Imagine I have a page called "WORK. And "Work" ...
1
vote
2answers
1k views
page template for attachement page?
hey guys,
I couldn't find anything on the web. Is it possible to have custom template for the image attachement page. I wonder if it is possible to add a navigation to the image attachement page so ...
0
votes
1answer
1k views
Adding a post shortcode to a page template?
hey guys,
The "mingle forum plugin" provides the following shortcode [mingleforum].
When I paste this into a page the forum is shown.
My forum is using a specific page-template called forum.php. Is ...