Simple page ordering on regular posts - php

I´m trying to use the simple page ordering plugin on wordpress.
I get the drag & drop interface on custom post and pages but it seems that it doesn´t work with regular posts. Does anybody knows a fix to make it work with the normal wordpress posts?
http://wordpress.org/extend/plugins/simple-page-ordering/

Ordering only applies to PAGE post type or those custom posts which are of PAGE type.
POST post type donot use ordering so the plugins also dosen't work with them

Related

How to add dynamic content using ACF on a taxonomy listing?

I'm going to excuse myself for not adding any code to this question, but there is no need for that because my whole code works fine. My problem is explained next.
I've made a template called template-listing-products.php for displaying posts from a custom post type called products, which is being used by a page in my WordPress website. In that page I have slideshow where I load images into it using ACF(Advanced Custom Fields) and list all the custom post type taxonomies names with links.
When I click a custom post type taxonomy from that page it redirects me to the template called taxonomy-products.php where I have the posts from that taxonomy. My problem is how to use ACF to add dynamic content to those pages? Like the slideshow where I have a page.
UPDATE: Problem solved.
I already had a repeater to add images for the slideshow on every taxonomy and I didn't understood why it's not appearing on every category/subcategory in admin. I updated ACF and now works. Maybe this will help someone else.
Ok. So I will answer my own question.
Problem solved.
I already had a repeater to add images for the slideshow on every taxonomy and I didn't understood why it's not appearing on every category/subcategory in admin. I updated ACF and now works. Maybe this will help someone else.

Need Seprate Category Page for custom post types

I have created a custom post types(passion) and i am using built in categories for it.
Please note that i am also using built in posts for home page which is working fine, it has its own category,archive page.
"Passion" post type is for paid user. My custom posts are working fine. But i am unable to create a category page for "passion" post type so that if user goes to url
"www.site.com/passion/dance" it shows all the "passion" custom posts with "dance" category. I am using WCK plugin to create post types.
I have tried creating archive-passion.php,category-passion.php, taxonomy-passion.php files but nothing worked.
Use http://domain.com/category/dance/?post_type=passion for CPT and add custom code in your archive-passion.php

How to add WordPress custom posts by front end forms

I have created a custom post type named gallery and its showing up nicely and works fine for me. My problem is that I don't want to allow my users to post their galleries from dashboard I want a way so that they can post there gallery images from front end by using upload buttons or any thing like forms etc. Is this possible to achieve in WordPress?
Kindly guide me in this regard, or is there any plugin which can do this task for me?
You can set and retrieve custom fields in code, either using custom metaboxes or a plugin like Advanced Custom Fields or Pods
You can set capabilities when you register a post type to control what roles can access what.

Wordpress: Adding meta values like title and description for Pages from custom database

I have a plugin that creates plugin specific database table rows that then are turned into pages. I have got this work with URL redirect and have been able to lay out the page. Now I am having some problems.
Problems:
Creating header title for the page. It currently shows page not found.
Creating description for meta SEO. Meta description is currently blank.
Showing these custom created pages to be added in WP menu.
I know these are not pages, and I have lost most of the wp functionality by doing this and not using custom post types but one of the main requirements of the clients was that the database have separate tables for their data.
I need some help or reference regarding these problems. Links for examples and articles would do or any free plugins that actually do this.
I'd really appreciate the help.
As you mentioned your self, using your current technique you will not able to take advantage of WordPress in real sense. You may use custom posts and then use wp cron to copy get the data from there to your own table.

How to display a wordpress custom post?

Okay, so I am completely lost on how to display a custom post. I've looked everywhere and can't seem to wrap my mind around it.
So, I downloaded the plugin Custom Post Type UI to create a custom post. Here are the parameters of my custom post type:
Name: discount
Label: Discount
Supports:
title,
excerpt,
thumbnail,
author
Then, I downloaded Advanced Custom Fields to give my custom post types some custom fields for users to edit.
I didn't have any problems with that. My problem is that I have no idea how to implement this into my site. I would like it to act exactly like a blog post and also implement a masonry for it - just like my blog posts (I'm using the dante theme (I can't post any more links)).
If anybody could help me out with this, or send me in the right direction, I would be so greatful. Thanks!
Your custom post type's theme template would be called "single-[post type name].php".
So for your example, you would want to create single-discount.php if your theme's root directory. Then you can start pulling your data from the posts through that.
For Advanced Custom Fields, you'll want to get familiar with get_field() and the_field(). ACF has great documentation on their site for how to use the various field types (http://www.advancedcustomfields.com/resources/)
To answer your questions in a general way, you could start by:
Theme Development. To understand how a WP theme works
Template Hierarchy. To understand what are the template files and how they are managed by WP
The Loop. To understand how WP shows the post
WP Query Class. To understand how to manage the posts, perhaps in the case of custom post type
For the custom fields, #Joe has pointed you in the right direction.
Hope it helps!

Categories