Forums

Help with custom template (3 posts)

  1. ranieri71
    Member
    Posted 1 year ago #

    I am a member of a "green" non-profit and am trying to help them out with their web site. They had a custom theme built for them a couple years ago and on the home page - Green Alabama you'll see under "The Hub" links to 3 different pages.

    We added a new Events plugin (All-in-One Events which by the way I think is REALLY cool). However, the link referred to above links to the old events page.

    Does anyone have any advice on HOW I can find out WHERE those links are coming from. It does not appear to be a sidebar widget. I don't know where else to look.

  2. ranieri71
    Member
    Posted 1 year ago #

    There is something in the style.css that I think refers to this item I'm trying to edit:

    .eventTease{
    font-family:Georgia, "Times New Roman", Times, serif;
    color:#FFF;
    font-size:16px;}

    I hope this helps someone help direct me to somewhere to update this.

  3. ranieri71
    Member
    Posted 1 year ago #

    OK found more, in the file index.php I found this

    <p><span class="eventTease">
    			<?php
    				$eventTitle = $wpdb->get_row("select title from wp_events where theend >= unix_timestamp(curdate()) order by theend;", ARRAY_A);
    				echo $eventTitle['title'];
    			?>
    			<br />
    			<a href="?page_id=460">click for calendar of events</a></p>

    So I updated the page_id to the new events page. However, how do I know the name of the table for instance from wp_events how do I know what this would be from my new plugin?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.