Forum Replies Created
-
AuthorPosts
-
Irene
ParticipantFinally! It does work.
Thank you so much. Is exactly what I need.
Cheers
IreneIrene
ParticipantNo go! Even without plugins.
After a little research I saw that te function events_get_listview_link is deprecated in the technical documents.
Look at this link: https://theeventscalendar.com/plugin/the-events-calendar/
Unfortunately they don’t say what to use instead and I’m not good enough to figure it out myself.
I’m desperate, I love this plugin but I need to get it right on mobile.
Thanks
Irene
ParticipantOk, Geoff, I did all the steps.
Of course when I activated the default theme I saw the week view because the function is in the child of my theme. F.y.i I’m using U-Design, I don’t know if there are known issues with that.
When I switched back to U-design without any other plugins activated than Event calendar, the error was back.
I think that is handy for you to know that I have another issue going on, also in the function of my child theme. Please give a look
I’m grateful for any other suggestion
Thank you for your efforts.
IreneIrene
ParticipantHi Geoff,
nope, I have still the same error. I tried also to change my permalinks settings back to default but… no go!
Cheers!
IreneIrene
ParticipantHi Brian,
I try to set the week view found at /events/ beginning by a particular date. I tried with the code you mentioned above but the week begins today, so nothing changes.
I have also tried with this:
function tribe_set_default_date () { if ( !is_single() && empty( $_REQUEST['tribe-bar-date'] ) ) { $_REQUEST['tribe-bar-date'] = '2015-01-01'; } } add_action( 'parse_query', 'tribe_set_default_date' );But then I can’t see the events in the list widget that are prior that date, which is logical.
Thanks
Irene
ParticipantThank You! It works like charm.
Irene
ParticipantHi Brian,
This doesn’t work either. Giving a good think the problem is probably that the ‘tribe-bar-date’ gives the date for the whole agenda. So I should set a second default-date parameter and target the week view with that. But I have no idea how to do that. I’m not very acquainted with php.
Irene
ParticipantHi Brian,
I an building a website for a congress. Under the section “Agenda” I want to show only the week of the congress. In the list widget on top of the site I have some important dates prior the congress that I need to show.
If you go to http://www.spn8.nl you will see what I mean.
I tried:function tribe_set_default_date () { if ( !is_single() && empty( $_REQUEST['tribe-bar-date'] ) ) { $_REQUEST['tribe-bar-date'] = '2016-08-29'; } } if( tribe_is_week()) { // Week View Page add_action( 'parse_query', 'tribe_set_default_date' ); }But the week view still shows the current week.
Thank you
Irene
ParticipantI have disabled the ‘coming soon’ plugin.
I tried to target the widget with css as suggested in Styling Events Widgets in the knowledgebase but nothing seems to help for the title, while I could change the timer without problems.
Irene
ParticipantHi,
I solved the problem, since I have only a homepage and the event page I set the ccs of theme to show the header and footer only on the homepage. This works for me.
/*hides the header, bottom and footer in all pages except the home-page*/
.home #top-wrapper{display: block;}
#top-wrapper{display: none;}.home #footer{display: block;}
#footer{display: none;}.home #bottom{display: block;}
#bottom{display: none;}May be not the most sexy code… but it works. Anyway, you are very welcome if you have better suggestion. I am always happy to learn.
Thank you for helping
Irene
ParticipantThank you for answering.
I’m not sure I will be able to build a brand new widget, I also read the Theme’s Guide but I’ cant find a way to change the month into week.
But I searched a little bit more the internet and I think that I’m almost there, I found a way to kind of embed the main calendar. and I can actually see it the way I want.
Just put this code into the page where you want to embed the calendar. It must be done in the Text editor.
<object data="http://www.spn8.nl/?post_type=tribe_events" width="1280" height="1280"> <embed src="http://www.spn8.nl/?post_type=tribe_events" width="1280" height="1280" /></object>For more information read this:
http://www.mulinblog.com/how-to-embed-web-page-in-a-wordpress-blog-post/The only problem now is that I don’t want to see a header or footer. I tried to assign a custom made page template to the calendar but nothing changes (the template works well with other pages).
Is there a way to show the calendar only?
Thanks!
-
This reply was modified 10 years, 9 months ago by
Irene.
Irene
ParticipantThis reply is private.
Irene
ParticipantHi Barry,
sorry for that, I will send you the credentials in a private message to be able to login and see the actual site.
On the left you will see the title “Countdown to …: this is the title of the widget and what I want to center.
Thanks for helping
-
This reply was modified 10 years, 9 months ago by
-
AuthorPosts
