Forum Replies Created
-
AuthorPosts
-
Brook
ParticipantHowdy,
If I am understanding you correct your goal is to redirect the << All Events link to the week view, specifically the week view that contains a particular event.
Without editing PHP this is not going to be possible. And it could get a bit hairy. However, what if you were to simply hide the all events link? You could then include a link back to the week view in your content, or include that fancy date selection header you have designed. Hiding the link would be quite easy. The following CSS should do it:
.tribe-events-back {
display: none;
}Would that work for you? If I misunderstood the goal please let me know. I’d like to help if I can. Thanks!
– Brook
January 7, 2014 at 3:49 pm in reply to: Organizer and Venue custom post types : mapping Title from frontend form #88001Brook
ParticipantHowdy Marcus,
Without being able to view the specific form where you are submitting data from we will not be of much help. We might even need to see the backend form settings.
From a general standpoint the main thing that separates those two from the rest of the form is that they would have to be select/option HTML elements. With <option>s the displayed title is not the submitted value. For instance my venue titled “K place” has a value of “50”. You would want Gravity forms to be submitting the value of 50, not the title “K place” to select that particular venue. Does that make sense?
Please let me know if that helps you resolve the issue. Thanks!
– Brook
January 7, 2014 at 3:41 pm in reply to: Calling an upcoming event in a different part of the site #87995Brook
ParticipantI appreciate the response Kelly. Glad I could be of some assistance, but I understand what you mean. Sometimes the time investment in learning is not worth the pay off. Even if you did know PHP you might have decided to it was nor worth the investment.
Happy site building!
Brook
ParticipantHowdy jussibr,
By default our plugin shows the same title as WPshindig.com. However, you appear to be running the Yoast plugin, which does some very screwy things with <title>s. In this case it decided to just leave the title blank!
Some of our users have had success with adding scripts like this to their functions.php file, allowing them to set the title of each events page in spite of Yoast. We can not really support that script since it is just trying to fix Yoast’s over active title overrides. However, it should be fairly plug and play if you understand PHP.
Will that work for you? Please let me know. Thanks!
– Brook
Brook
ParticipantHowdy Mark,
Provided the Thesis theme uses standard WordPress Page Templates they should be showing up in Settings Display. I just created this test Page Template to demonstrate what I mean.
If your theme is using nonstandard practices then you will face some problems. You would need to convert their theme options into a regular page template. If you are not a theme designer this is no easy task. You might need to file a feature request with the theme developers, or hire someone to make the changes for you.
Does that make sense? I hope it helps! If not please let me know. Thanks!
– Brook
Brook
ParticipantThank you so much for sharing the solution. I am really glad to see you got it working.
I can see where you are coming from. Events are a potential goldmine for SEO purposes. If you have some specific feature recommendation in that regard please throw it up on our uservoice page: https://tribe.uservoice.com/
I marking the answer and closing this topic.
– Brook
January 7, 2014 at 1:44 pm in reply to: list view: is it possible to hide/limit the page content from list view? #87943Brook
ParticipantHowdy chrisfernie,
That is very correct. Fortunately WordPress has a solution. Child Themes allow you to make modifications to a theme that will persist when you update the base theme. Here is the WordPress guide on how to use them: http://codex.wordpress.org/Child_Themes
Snorton provided you with a great solution (Thanks snorton!) Please let us know if it works for you. Thanks!
– Brook
Brook
ParticipantYou are a bug finding machine joinfof! I am able to reproduce this on my testing server. This is a separate bug, but obviously still unwelcome behavior. It relates to clicking << Previous Events on any of the Upcoming Views, including Map, Photo, and List.
I just let the developers know about this bug as well. Thank you so much for helping us find it and providing the requested details. I will keep you posted about a fix.
– Brook
Brook
ParticipantThanks for the login Laura!
This is evidently a “feature” of Yoast. It puts your custom title in the <title> tag of the blog so search engines will see it, then uses Javascript to override the the displayed title back to the default user friendly one. If you do not use Yoast’ filter (wpseo_title) and instead use the regular WordPress one (wp_title), you will see this issue stop. If it continues to give you issues though you will have to look to Yoast for assistance.
I hope the rest of the site goes well. I really like the look of it.
– Brook
Brook
ParticipantRein,
In addition to Snorton’s great advice there is an alternate solution. You can simply add the following to your CSS style sheet:
.tribe-mini-calendar{display: none;}This simply hides the mini calendar, and will just display the default list underneath it. Snorton’s suggestion is more powerful and definitely ideal, but if you are interested in a quick fix that CSS should work.
Will one of those suggestions work for you?
– Brook
PS. Thank you for helping out snorton!
Brook
ParticipantI am unable to duplicate that issue. I am running this code. On my site Map View’s <title> stays as “Events by Location | Reshet..” regardless of whether Map view is the default, if I reselect View As Map, or if I click around and come back to the Map view. It never “defaults back”. Can you document all the steps required to reproduce this? Or perhaps open up access to your site and share a link on a page where this happens? Thanks!
– Brook
January 7, 2014 at 10:02 am in reply to: Custom SEO Titles and Meta Descriptions – Date Query #87860Brook
ParticipantYou are very welcome! I am going to mark this thread as answered since the issue is now resolved. If you have a different issue in the future feel free to post. We are glad to help point you in the right direction if you are doing some customizations, or if you are encountering an error or bug.
– Brook
Brook
ParticipantReshetramah,
You may have missed my edit from above. I misread your comment from before. Hence my second reply (seen above) that helps correct the 1970 error.
Please let me know if that code works for you! I appreciate your patience.
– Brook
Brook
ParticipantHere we go. When viewing a single page the query vars are distinctly different. What you are looking for is the tribe_get_start_date() function, you no longer need to mess with $wp_query.
You might be interested in a PHP IDE. It points out basic coding errors like the lack of a global from before. In your current code you are returning the variable title, which has never been defined. This would cause a problem as well which an IDE will kindly point out.
Here is the corrected code: http://pastebin.com/n7dqCcsN
If you are writing creating further customization like the meta info, you will want to use our tutorials as a reference for our API: https://theeventscalendar.com/the-events-calendar-for-wordpress-tutorials/
In addition, in the future if you are looking for a specific function like tribe_get_start_date(), poking through the files in the folder \the-events-calendar\public\template-tags\ will give you a great set of available functions to use in your customizations.
I hope that helps. Thanks for posting!
– Brook
Brook
ParticipantHowdy again reshetramah,
I am glad that title code worked for you and that you are able to adapt it to meta stuff as well! I apologize for closing your topic, that was unintentional. I am glad you opened a new topic to continue our discussion.
Edit: I am sorry I just realized your post was about the variable eventDate not post_date. I will take a look at this.
– Brook
-
AuthorPosts
