Frontpage events linking

If you are planning to organize any conference or festival, there are many ways to get help via our forum.
GK User
Wed Apr 08, 2015 8:48 pm
Hi,

http://philolep.pl/

1) In the frontpage events listing, clicking any particular event sends me to a single event page. How is it possible:
a) to make it a link to different place instead (so that e.g. clicking every event will send me here: http://philolep.pl/?page_id=165)
b) to NOT display those over-sized "featured images" on every single event page (but still leaving them on my frontpage)

2) http://philolep.pl/?page_id=165 - how may I disable links in titiles of all the events within my list?

3) how can insert these grea areas with clocks (as in here, "early registration", https://demo.gavick.com/wordpress/event ... out=agenda) into my programme here: http://philolep.pl/?page_id=165? Is it possible to insert such areas between two events (so as to create a "coffee break" - without a single event page and not displayed on the frontpage)

thx
pb.
User avatar
Fresh Boarder

GK User
Thu Apr 09, 2015 7:43 am
Hi,

Regarding your issues:

1 a) You have to edit the agenda shortcode (Events/shortcodes.php file) and change the links manually this fragment: (around line 206):
Code: Select all
<a href="'.get_the_permalink().'"


1 b) Try to add the following css code:
Code: Select all
.parent-pageid-167 .entry-thumbnail {
   text-align: center;
}

.parent-pageid-167 img.wp-post-image {
   max-width: none;
   text-align: center;
   width: auto;
}


2. In the Events/template.events.php file change this fragment:
Code: Select all
<div class="eventlist-content">
                                    <h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
                                    <?php the_excerpt(); ?>
                                 </div>

to:
Code: Select all
<div class="eventlist-content">
                                    <h3><?php the_title(); ?></h3>
                                    <?php the_excerpt(); ?>
                                 </div>


3. It will be difficullt - this block (early registration) may be found in template.agenda.php file, but it's not easy to copy it to your location, it requires some php and css adjustments, unfortunately beyond our technical support. Maybe it will be easier to use custom html with the same structure..
User avatar
Moderator

GK User
Fri Apr 10, 2015 10:31 am
Ok great, it works - thank you!

3 issues, however:
1) I think I disabled all links in here: http://philolep.pl/?page_id=165; not only in the title, but the content too? [where I put "Click here to download the paper" there is <a href ="..."> link] :)
2) How can I delete all those dots added automatically to my content in the events listing [http://philolep.pl/?page_id=165]
3) Some speaker pages enable comments some don't: e.g. http://philolep.pl/?page_id=47 vs. http://philolep.pl/?page_id=115
this is odd as I disabled commenting in settings->discussion

best,
pb.
User avatar
Fresh Boarder

GK User
Fri Apr 10, 2015 11:38 am
1) I can't see any link in this place "Click here to download the paper.."

2) It's default excerpt, you can change this framgment from functions.php :
Code: Select all
function events_excerpt($text) {
    return $text . '&hellip;';
}

into:
Code: Select all
function events_excerpt($text) {
    return $text;
}

3) This option disables comments only for NEW article,events
for existing articles, you have to do it manually on article edit page or use a plugin like:
https://wordpress.org/plugins/disable-comments/
User avatar
Moderator

GK User
Wed Apr 15, 2015 6:36 pm
thx

ad. 1 and this is a problem because the code I put there goes like that:

<a href="http://philolep.pl/wp-content/uploads/2015/04/..................pdf">Click here to download the paper</a>

and yet there is no link displayed...
User avatar
Fresh Boarder

GK User
Thu Apr 16, 2015 8:35 am
Could you show me edited code of your Events/template.events.php file or send me a PM with backend and FTP access to your website?
User avatar
Moderator

GK User
Tue Apr 21, 2015 7:51 am
Now I understand the issue. in the template.events.php file there;s default wordpress excerpt displayed and unfortunately it doesn't allow to display any html tags, so your link is visible as normal text.

The solution may be found i.e. here:
http://wordpress.stackexchange.com/ques ... in-excerpt

You can also add:
Code: Select all
<?php the_content(); ?>

instead of:
Code: Select all
<?php the_excerpt(); ?>

(it's already done and should be ok)
User avatar
Moderator


cron