Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
llemurya committed Dec 9, 2014
1 parent 005d287 commit 7297da2
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ public function get_frontend_data($post_id)

array_push($collector['slides'], array(
'title' => get_the_title(),
'multimedia_type' => $this->multimedia_types[0],
'src' => wp_get_attachment_url(get_post_thumbnail_id(get_the_ID())),
'desc' => get_the_excerpt(),
'post_id' => get_the_ID(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function get_population_options($multimedia_types, $custom_options)
'label' => false,
'desc' => false,
'type' => 'slides',
'multimedia_type' => $media_type_values,
'multimedia_type' => array_keys($media_type_choices),
'thumb_size' => array('height' => 75, 'width' => 138),
'slides_options' => array(
'multimedia' => array(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ public function get_frontend_data($post_id)
setup_postdata($post);
array_push($collector['slides'], array(
'title' => get_the_title(),
'multimedia_type' => $this->multimedia_types[0],
'src' => wp_get_attachment_url(get_post_thumbnail_id($post->ID)),
'desc' => get_the_excerpt(),
'extra' => array(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ public function get_frontend_data($post_id)

array_push($collector['slides'], array(
'title' => get_the_title(),
'multimedia_type' => $this->multimedia_types[0],
'src' => wp_get_attachment_url(get_post_thumbnail_id(get_the_ID())),
'desc' => get_the_excerpt(),
'extra' => array()
Expand Down
2 changes: 1 addition & 1 deletion manifest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

$manifest['name'] = __( 'Population Methods', 'fw' );
$manifest['description'] = '';
$manifest['version'] = '1.0.0';
$manifest['version'] = '1.0.1';

$manifest['github_update'] = 'ThemeFuse/Unyson-PopulationMethods-Extension';

0 comments on commit 7297da2

Please sign in to comment.