• 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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter ranieri71

    (@ranieri71)

    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.

    Thread Starter ranieri71

    (@ranieri71)

    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?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Help with custom template’ is closed to new replies.