Tagged: Custom Post Type, Portfolio
-
AuthorPosts
-
November 20, 2013 at 4:29 pm #190956
Hi
what we try to achieve is:1: a second custom post type in addition to “Portfolio”
Lets call this Custom-Post-Type “Rent-Items”
This post type “Rent-Items” shall have different Categories than the “Portfolio”
The Custom Post-Type “Rent-Items” shall have the same functionality than “Portfolio”What we did and achieved right now is:
1: We created the post type.
2: we created the custom taxonomyThe next problem we have is:
We created a page (“rent-service” ) and tried to drag a “Portfolio-Grid-View” into it which should show the categories from post type “Rent-Items” .
Right now we see only categories from the post-type “Portfolio”Can someone points us the way to he solution, please?
regards axel
EDIT
we just made a step forward.
We copied the portfolio.php (from the shortcodes-folder) and edited it.
We renamed it and putted it on the server
Then we enabled the Avia-Layout-Builder for the “Rent-Item” Post-Type
Now we can create new posts in “Rent-Items” and we almost have it as we want to.BUT..
Now there are no “Portfolio-Items” showing up on our “Portfolio-Page”It looks like there is something creating a conflict and we located it to be in our custom-shortcode.php
If we remove it we see the items on “Portfolio Page” but of course not on “Rent-Item” -Page and vice versa.It must have something to do with the order in which the server calls these two shortcode-files.
If we rename our shortcode-file into a-rent-items.php (a comes before p in the alphabet) our Rent-Item-Page have content ,
If we rename our shortcode-file into rent-items.php it goes vice versa.
So it looks like the problem is that is has been registered/called/added/hooked (or whatever) and cant be registered/called/added/hooked a second time.Where is the conflict which causes that we can only have one custom-post-type with Portfolio functionality?
Regards axel- This topic was modified 11 years, 1 month ago by kaMai.
November 21, 2013 at 11:42 pm #191664Hi kaMai!
Have you tried re-installing WP from scratch with the theme modified this way?
Cheers!
JosueNovember 22, 2013 at 3:06 am #191705what???
after more than 20 hours of work on it??
is that what you call support??
Just suggest “start from scratch”?? No explaination about the backround! Not even a hint nor an educated guess? Just “start again”??Since hours i find bugs after bugs after bugs and i dont like to say that but Enfold is a helluva mess.
It might be fine for Apple-Users who just want to “drag & drop” a bit around like they are used to.
Or you have to be a 110% nerd.But if you just know enough php to get along with most themes and you want to do some customizations Enfold is pita!
That theme is so far off any WP-standards that you cant do almost nothing except stay put with the functions it serves.
But thats far away from usability for owners.
Even usually very simple things like changing the image-size of post-images in the list-view of a blog needs hours of research.
Always permalinktrouble (specially in breadcrumb), no proper documentation, Enfold takes archive.php for a single-view!!!! and so much more issues that i really think stop it and ask Themeforest for a refund and look for a Theme which does a good job. -
AuthorPosts
- The topic ‘Custom Post Type with Portfolio functions’ is closed to new replies.