Forum Replies Created
-
AuthorPosts
-
coach-abondance
MemberTest inserting code :
[code][/code] test
coach-abondance
MemberWell, the code is not passed …
e-mail me to get it (or maybe mods can explain me how it works …)coach-abondance
MemberSECOND STEP
Chande the display of organizer in the envent :
In the file single.php (better make a copy in your theme directory under /events/), change :
with :
<a href="/">
This will replace the external link by the internal one, in order to reach the organizer page.
To be continued …
coach-abondance
MemberFIRST STEP
Create a regular page for organizer, xit title and description.
See this post :(note : I’m still not happy with the link structure)
coach-abondance
MemberHi,
A first step is obvious : in the the-events-calendar-class.php file at line 46, add the fields to show when opening the “organizer” page :
‘supports’ => array(‘title’, ‘editor’,’excerpt’),
(note : for a better SEO efficiency, the same should be done for Venues at line 35)This way you can edit Title and description, which also improves the permalink : /?tribe_organizer=name
Question : how to have a “regular” permalink such as /organizer/name ?
I have tried to set ‘rewrite’ (line 42) to
“=> array(‘slug’=>’arganizer’, ‘with_front’ => false),”
instead of “false”, but then the link is not recognized…
Any idea ?
your_comain/coach-abondance
MemberHere you are : http://www.coach-abondance.com
coach-abondance
Member…I just put
before title …
…I guess ther is differentsomewhere….coach-abondance
Member[Update] The default template needs too much customization, for the time being I just put before title text. Not so nice but works !
Maybe you could tell me what is the difference in the construction of this page and, for instance, the Venue view : some of the CSS have the same effect in both pages (for instance the background of dates and the layout of the tables on the right), some other not (for instance the event titles). I guess there is different somewhere, but was not yet able to find it.
coach-abondance
MemberHi Rob,
Thanks for suggestion.
When I add some html code it come between the title and the buttons, and not – as I would like – before the Title.
I will use the “default events template” and custom it, since it looks better.coach-abondance
MemberI’ll try to build some hack and keep you posted.
Regardscoach-abondance
MemberHi,
Thanks for answer.
Please have a look at this page : http://www.coach-abondance.com/evenements.
Many hhanks in advancecoach-abondance
MemberThanks for answer,
Here is the site: http://coach-abondance.com
and the code :
>code>
/* couleurs pour Events */
.tribe-events-calendar .cat_formations,
.tribe-events-calendar .cat_formations a {
background: thistle;
color: navy;
}
.tribe-events-calendar .cat_seminaires,
.tribe-events-calendar .cat_seminaires a {
background: paleturquoise;
color: navy;
}
.tribe-events-calendar .cat_conferences,
.tribe-events-calendar .cat_conferences a {
background: moccasin;
color: navy;
}Thanks for help !
-
AuthorPosts
