Jump to content

Archived

This topic is now archived and is closed to further replies.

CjrMotley

Custom Post Types with Pagelines framework and wordpress

Recommended Posts

CjrMotley

Ok, I'm having problems with my custom post types showing on my front blog page along with my regular blog post, here is a link to the custom post type (sample post) ==> http://www.definitiondjs.com/musiclibrary/this-is-a-post-title-test/ ..... my custom fields doesn't show, Why?

 

Also, when I edit the custom post, all the fields change to blank (the previous text that was in the field is somehow deleted), why?

 

Wordpress: 4.0

Pageline Frameworks: 2.4.5

cpt plugin is: WCK, here is a link to the site ==> http://www.cozmoslabs.com/docs/wordpress-creation-kit-documentation/

 

I linked snapshots of the custom fields area, which doesnt show after publishing or after clicking edit this post:

 

http://www.definitiondjs.com/wp-content/uploads/2014/09/01.png

http://www.definitiondjs.com/wp-content/uploads/2014/09/02.png

http://www.definitiondjs.com/wp-content/uploads/2014/09/03.png

 

Summary, I would like my custom post to display on my front page, along with my blog post.

 

Also I would like to have an option to hide post from showing on front page, but I would like for all posts to show in search, archieved and category, even if hidden from the front page.

 

Thanks in advance!

Share this post


Link to post
Share on other sites
Danny

Hi,

 

By default WordPress will display only your posts post type on your front page, prior to setting up static pages, as that page displaying your posts is essentially a blog page for the posts post type. If you choose to use a Static Front page, then no posts will display as it is then considered a page and not a dynamic page or archive.

So if you want to display both your posts and a custom post type you're going to need to use either a plugin such as MiniLoops or use custom code. This issue is related to WordPress and not PageLines Framework. As you're attempting to do something that WordPress doesn't support. If you require more assistance, then the best course of action is to ask your question on the WordPress support forums.

 

 


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

  • Similar Content

    • stebac
      By stebac+
      Hello!

      Since i recently updated to WordPress 4.9.4 there have been some unusual behaviours with Platform 5 (version 5.1.8).

      I am unable to edit the colour pickers for the backgrounds (the boxes do not show up anymore) and when i activate a plugin from the extend menu it does not show up in my page editor tools.
      Is this a problem for everyone else?
      Thank you in advance for your time.
      Ste.
    • werdnags
      By werdnags+
      Can anyone guide me please?
      I would like to learn how to achieve custom fields and going to give ACF plugin a try.  I have watched all the videos and read the documentation and all is good except I can find the template files for the pages and posts.  I believe I should be looking for the file single.php but what about posts?  Is the reason I can't find them because I am using a framework? Pagelines Framework?  How can I add my custom fields to the templates on Pagelines Framework?
      Any guidance would be appreciated please.
    • tuciudadenred
      By tuciudadenred+
       
      I have problems with the scroll, someone who can help me?
      Video_1487265541.wmv
    • flourishdesignstudio
      By flourishdesignstudio+
      Hi,
      I am using PL5 as well as Advanced Custom Fields (AFC) to help add meta data to individual posts on our blog. However, where I am getting stuck is how to display the meta data on the actual public post page (frontend). For example, if we have posts that have a subject matter of plants then there are custom fields that the client fills out such as "Scientific Name", "Region", etc. I have used ACF before to display this meta data onto the loops section as well as in Revolution Slider or Essential Grid. However, I am not sure if there is a way to have this metadata display on the actual post page. Can you point me in the right direction? I am using a child theme so I wasn't sure if that meant I had to edit the functions.php file or if there was some other workaround that you knew of.
      Thanks so much!
    • Simon
      By Simon
      WordPress 4.7.1 was released on 11th January.
      It introduced a new bug that stops certain filetypes from being uploaded.
      This bug unfortunately stops users from uploading SVGs with the Platform 5 builder.
      In the meantime if you need to upload an SVG or have any other image upload issues then please try this plugin that bypasses the mime checks that were introduced.
      https://wordpress.org/plugins/disable-real-mime-check/
       
      Link to trac ticket: https://core.trac.wordpress.org/ticket/39550
      EDIT: 4.7.2 has been released without the fix. Fix is now slated for 4.7.3
×