All Questions
0
votes
1answer
5 views
PHP Code to Display Term URL & Name of a Post Under a Custom Post Type
I am featuring a post in my footer(outside the loop) from a custom post type and am using Advanced Custom Fields plugin to do so. This is the code I am using:
<h5>Featured Movie</h5>
...
0
votes
0answers
6 views
Updated WordPress and now image crop, thumbnail setting and thumbnails are gone
I've updated to WordPress 3.7.1 and when I upload images to my site, it's not generating thumbnails. It's also missing the image crop and thumbnail setting sidebar.
I created a simple theme but ...
0
votes
0answers
9 views
Permalink Redirects
I created a new version of a page called /newpage/. It would replace /page/. In my testing I changed /page/'s permalink to /pageold/. I then reverted back to /page/ and deleted that page. I changed ...
0
votes
1answer
9 views
Cant' Grab WordPress Built-in Posts Through Loop
Using WordPress 3.7.1 I am trying to display all Regular Post on my created page lest say TestPage. Here are the steps I took to do this:
1- Generate a Custom Page Template called:Test Page and ...
0
votes
0answers
13 views
Custom Posts Hierarchy? (State/City/Restaurant)
Question:
What is the best way to create a hierarchy structure (also called parent/child relationships) between custom post types?
For example, we currently have 3 post types: States, Cities, and ...
-2
votes
0answers
6 views
Change categories in user post when change role
I have a serious problem with Gravity Forms and Paypal users.
When user cancel subscription, i only can change role of that user to suscriber, but i need uncheck category "pro" and check "basic" in ...
0
votes
1answer
11 views
Printing direct descendants of a category with WP_Query
So I'm having trouble printing just the direct children of a category on a page. Here's my code:
$category_id = get_cat_ID('destinations');
$args = array('child_of' => $category_id);
...
-2
votes
0answers
13 views
Wordpress friendly url help please!
I have this url http://mysite/$custom-taxonomy/$custom-taxsonomy-term/?post=59
i want ?post=$someid whill be the the name of the post.
how can i do that??
please help.
0
votes
0answers
14 views
Custom folder structure and problem with 3rd party services
First off, I've customised my WordPress folder structure a bit:
wordpress/ contains all the files a fresh WordPress install does (wp-admin, wp-includes, etc)
The problem I'm facing is that a ...
0
votes
0answers
9 views
Show custom taxonomies in admin panel under custom post type
I have added a custom post type called "product" to my theme.
I have also created a custom taxonomy for this post type called "product_category".
In the admin panel, the custom taxonomy shows up ...
0
votes
0answers
7 views
Display Shipping information in the products Meta
I'm looking to simply display a products shipping class / information in the products meta where the SKU and category reside but every snippet i try seems to do nothing. I'm no php guy so i cant work ...
0
votes
1answer
16 views
Display my plugins content based on a pages post_id
I have created a plugin that has the frontend content in a file named showmap.php, I currently have a shortcode that includes the contents of showmap.php on the page the shortcode is placed.
I ...
0
votes
0answers
9 views
Randomly placed sticky custom posts complemented by blog posts
On my index.php file I am showing the most recent posts using the standard index.php file. However, I'd like to include a custom post type (named products) in this standard loop. Have about 6 products ...
0
votes
0answers
17 views
What is the correct php format for outputting HTML and inserting do_shortcode in the HTML [on hold]
I keep getting syntax errors when I try inserting the:
do_shortcode('[banner_rotator name="HomePage"]');
snippet into this code:
<?php if(is_front_page()) echo '<div ...
0
votes
0answers
21 views
Which actions can update/change .php files?
As a followup to my question "How to find out if an wp-admin action edited a file?" I now could use a list of actions and files that can actually cause an update or change to .php-files in a default ...