Skip to content

Commit df3d645

Browse files
committed
updated pages + added news page
1 parent 49d3fdc commit df3d645

29 files changed

+3634
-4960
lines changed

about.php

Lines changed: 13 additions & 174 deletions
Original file line numberDiff line numberDiff line change
@@ -5,179 +5,18 @@
55
?>
66

77
<?php get_header(); ?>
8-
9-
<!--main content start -->
10-
<div class = "showcase-wrapper">
11-
<!--history section -->
12-
<?php
13-
$arg1 = array(
14-
'name' => 'history'
15-
);
16-
$history = new WP_Query( $arg1 );
17-
?>
18-
<?php if ( $history->have_posts() ) : while ( $history->have_posts() ) : $history->the_post(); ?>
19-
<section class = "history-section">
20-
<div class = "container">
21-
<div class = "row">
22-
<div class="col-md-12">
23-
<div class="history-text-wrapper">
24-
<div class="history-content">
25-
<h1><?php the_title(); ?></h1>
26-
<div class="history-content-wrapper">
27-
<div class="container">
28-
<div class="history-timeline">
29-
<div class="logo-group">
30-
<div class="logo-circle" id="logo-one">
31-
<img src="<?php echo get_bloginfo('template_url') ?>/img/biopython.jpg);">
32-
</div>
33-
<div class="logo-circle" id="logo-two">
34-
<img src="<?php echo get_bloginfo('template_url') ?>/img/biojava.jpg);">
35-
</div>
36-
<div class="logo-circle" id="logo-three">
37-
<img src="<?php echo get_bloginfo('template_url') ?>/img/bioperl.jpg);">
38-
</div>
39-
</div>
40-
<div class="bar"></div>
41-
<div class="timeline">
42-
<div class="entries">
43-
<div class="entry" id="entry-one">
44-
<div class="year">
45-
<h1>2001</h1>
46-
</div>
47-
<div class="entry-info" id="info-one">
48-
<p>OBF grows out of volunteer projects BioPerl, BioJava and BioPython and is formally incorporated.</p>
49-
</div>
50-
</div>
51-
<div class="entry" id="entry-two">
52-
<div class="year">
53-
<h1>2005</h1>
54-
</div>
55-
<div class="entry-info" id="info-two">
56-
<p>Bylaws enacted for the first time and formal membership created.</p>
57-
</div>
58-
</div>
59-
<div class="entry" id="entry-three">
60-
<div class="year">
61-
<h1>2012</h1>
62-
</div>
63-
<div class="entry-info" id="info-three">
64-
<p>Giving up of own incorporation and association with Software In The Public Interest, Inc</p>
65-
</div>
66-
</div>
67-
</div>
68-
</div>
69-
</div>
70-
</div>
71-
</div>
72-
</div>
73-
</div>
74-
</div>
75-
</div>
76-
</div>
77-
</section>
78-
<?php endwhile; else : ?>
79-
<p><?php __('No post found'); ?></p>
80-
<?php endif;
81-
wp_reset_postdata(); ?>
82-
83-
84-
<!-- about us section -->
85-
<?php
86-
$arg2 = array(
87-
'name' => 'whoweare'
88-
);
89-
$about_us = new WP_Query( $arg2 );
90-
?>
91-
<?php if ( $about_us->have_posts() ) : while ( $about_us->have_posts() ) : $about_us->the_post(); ?>
92-
<section class = "us-section">
93-
<div class = "us-image" style = "background-image: url(<?php echo get_bloginfo('template_url') ?>/img/animal-biology-blurred-background-1423590.jpg);"> <!--Photo by Fancycrave.com from Pexels-->
94-
</div>
95-
<div class="container">
96-
<div class="row">
97-
<!--move content by 5 columns -->
98-
<div class="col-md-7 col-md-offset-5">
99-
<h1><?php the_title(); ?></h1>
100-
<!-- info -->
101-
<?php the_content(); ?>
102-
103-
</div>
104-
</div>
105-
</div>
106-
</section>
107-
<?php endwhile; else : ?>
108-
<p><?php __('No post found'); ?></p>
109-
<?php endif;
110-
wp_reset_postdata(); ?>
111-
112-
<!--activities section -->
113-
<?php
114-
$arg3 = array(
115-
'name' => 'activities'
116-
);
117-
$activities = new WP_Query( $arg3 );
118-
?>
119-
<?php if ( $activities->have_posts() ) : while ( $activities->have_posts() ) : $activities->the_post(); ?>
120-
<section class="obf-activity">
121-
<div class="container-fluid">
122-
<h1><?php the_title(); ?></h1>
123-
</div>
124-
<div class="container-fluid">
125-
<div class="row">
126-
<div class="col-md-12">
127-
<div class="row">
128-
<div class="act-left-new" id="one">
129-
<img src="<?php echo get_bloginfo('template_url') ?>/img/1conf2.png">
130-
<div class="small-left">
131-
<p>Running and supporting the BOSC Conferences.</p>
132-
</div>
133-
</div>
134-
<div class="act-right-new" id="one">
135-
<img src="<?php echo get_bloginfo('template_url') ?>/img/2hackathon.png">
136-
<div class="small-right">
137-
<p>Organizing and supporting developer-centric "Hackathon" events.</p>
138-
</div>
139-
</div>
140-
</div>
141-
142-
<div class="row">
143-
<div class="act-left-new" id="two">
144-
<img src="<?php echo get_bloginfo('template_url') ?>/img/googlesummerofcode.png">
145-
<div class="small-left">
146-
<p>Participating in the Google Summer of Code program on behalf of our member projects as an umbrella mentoring organization.</p>
147-
</div>
148-
</div>
149-
<div class="act-right-new" id="two">
150-
<img src="<?php echo get_bloginfo('template_url') ?>/img/travel_fellowship.png">
151-
<div class="small-right">
152-
<p>Running the OBF Travel Fellowship program (launched March 2016).</p>
153-
</div>
154-
</div>
155-
</div>
156-
157-
<div class="row">
158-
<div class="act-left-new" id="three">
159-
<img src="<?php echo get_bloginfo('template_url') ?>/img/servers_and_stuff.png">
160-
<div class="small-left">
161-
<p>Managing servers, colocation facilities, bank account, domain names, and other assets for the benefit of our member projects.</p>
162-
</div>
163-
</div>
164-
<div class="act-right-new" id="three">
165-
<img src="<?php echo get_bloginfo('template_url') ?>/img/public_opinion.png">
166-
<div class="small-right">
167-
<p>Public opinion and policy statements about matters related to Open Source and Open Science in bioinformatics.</p>
168-
</div>
169-
</div>
170-
</div>
171-
</div>
172-
</div>
173-
</div>
174-
</section>
175-
<?php endwhile; else : ?>
176-
<p><?php __('No post found'); ?></p>
177-
<?php endif;
8+
9+
<div class="showcase-wrapper">
10+
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
11+
<?php the_content(); ?>
12+
<?php endwhile; else : ?>
13+
<p>
14+
<?php __('No post found'); ?>
15+
</p>
16+
<?php endif;
17817
wp_reset_postdata(); ?>
179-
</div> <!--main content end -->
180-
181-
<!--footer -->
182-
<?php get_footer(); ?>
18318

19+
20+
</div>
21+
22+
<?php get_footer(); ?>

0 commit comments

Comments
 (0)