Tagged: x
-
AuthorPosts
-
July 9, 2016 at 10:06 am #1079350
tabaskoParticipantDear Support,
I am using the plugin “Event planner”, which has a custom post type for events.
As adviced by other posts in this forum, I created a child theme with a new single wp-single and content file for the new custom post type for which I just copied the original ones and adjusted links and names.
However, in the custom post some php echos (from WPML and the Event planner plugin for example) do not show up and the title picture does not crop.
I know you do not provide support on other plugins, but i thought this problem is more related to x than to the plugin.
Do you have an idea what exactly happened?cheers,
tabaskoJuly 9, 2016 at 10:08 am #1079351
tabaskoParticipantThis reply has been marked as private.July 9, 2016 at 12:00 pm #1079428
ThaiModeratorHi Tabasko,
I would like to check your website, but it’s under construction.
Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link login to your site
– WordPress Admin username / passwordDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Thanks.
July 13, 2016 at 11:22 am #1085141
tabaskoParticipantThis reply has been marked as private.July 13, 2016 at 9:01 pm #1086075
Rue NelModeratorHello There,
Could please post the contents of the
single-epl_event.phpfile? We want to check what you have in there. If I may ask, what should be the correct output of this page? At this time I am not entirely certain what it is you would like to accomplish based on the information given in your post. If you wouldn’t mind providing us with a little more clarification on what it is you’re wanting to do (a link to a similar example site would be very helpful, or perhaps some screenshots), we’ll be happy to provide you with a response once we have a better understanding of the situation.Thank you.
July 14, 2016 at 1:31 am #1086304
tabaskoParticipantHello Rue Nel,
sorry for beeing unclear.
In single-epl_event.php I adjusted this line from the normal single.php:
<?php x_get_view( x_get_stack(), 'wp', 'single-epl_event' ); ?>
In wp-single-epl_event.php this one:<?php x_get_view( 'ethos', 'content-epl_event', get_post_format() ); ?>
content-epl_event.php is now identical to the normal content.php to make it simpler.I assumed that this should now look the same as a normal post, but you can see missing the category taxonomy, the paddings of the title and the language switcher on the top right. Some php echos seem not to work on this location.
Thank you in advance and best regards,
tabaskoJuly 14, 2016 at 1:32 am #1086305
tabaskoParticipantThis reply has been marked as private.July 14, 2016 at 4:38 am #1086483
LelyModeratorHi Tabasko,
Thank you for the links. For the spacing, please add this CSS:
.single-epl_event .x-main .hentry .entry-featured { margin-bottom: 2.15em; }Regarding the missing category meta for the custom post type, it needs some customization. Please check this thread:https://community.theme.co/forums/topic/metadata-in-custom-post-type/ for some guide.
Please also clarify which php echos is not working.
Hope this helps.
July 14, 2016 at 9:05 am #1086823
tabaskoParticipantHello Lely,
this helped a lot!
The php echos from my plugins don’t work:
<?php do_action('wpml_add_language_selector'); ?>from WPML for example,
that I have included in the navbar (top right) on all other pages.
And the following from the Event planner plugin itself: http://help.wpeventsplanner.com/customer/en/portal/articles/379174-template-tags
They work at some places in the template and at others they don’t, which is very mysterious to me.Thank you so far and best regards,
TabaskoJuly 14, 2016 at 6:24 pm #1087590
RadModeratorHi there,
Would you mind providing the exact file/template you’re applying this? I’ll check that on my local copy.
Thanks!
July 15, 2016 at 2:21 am #1088151
tabaskoParticipantThis reply has been marked as private.July 15, 2016 at 11:28 am #1088730
LelyModeratorThis reply has been marked as private.July 15, 2016 at 6:20 pm #1089164
tabaskoParticipantThis reply has been marked as private.July 16, 2016 at 1:52 am #1089607
Rue NelModeratorThis reply has been marked as private.July 16, 2016 at 5:03 am #1089714
tabaskoParticipantHello Rue Nel,
the issue is already solved!
it was a problem with the plugin and not the theme.thank you a lot for your help!
cheers,
tabasko -
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1079350 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
