WPIntell

Source evidence

[PATCH] support horizontal and vertical position

Background Per Page · support · 2014-02-06T16:59:00+00:00

complaintsentiment
mediumseverity
0.81relevance
1replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

3 / 16 rows with source links

18.8% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

13 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
MappaM unresolved
Hi ! Currently, this plugin allow to specify left, center or right position. Depending on the theme (mine is twenty thirteen) it could be vertically aligned, like to bottom. Anyway, CSS allow vertical and horizontal alignement. This patch divides the option “position” in two options : — old/background-per-page.php 2012-05-20 21:04:38.000000000 +0200 +++ new/background-per-page.php 2014-02-06 17:57:29.647706233 +0100 @@ -83,8 +83,20 @@ ‘desc’ => ‘How the background image reacts to scrolling.’ ), array( – ‘name’ => ‘Position’, – ‘id’ => “{$prefix}position”, + ‘name’ => ‘Vertical position’, + ‘id’ => “{$prefix}vposition”, + ‘type’ => ‘radio’, + ‘options’ => array( + ‘top’ => ‘Top’, + ‘center’ => ‘Center’, + ‘bottom’ => ‘Bottom’ + ), + ‘std’ => ‘center’, + ‘desc’ => ‘The vertical position of the image on the page.’ + ), + array( + ‘name’ => ‘Horizontal position’, + ‘id’ => “{$prefix}hposition”, ‘type’ => ‘radio’, ‘options’ => array( ‘left’ => ‘Left’, @@ -92,7 +104,7 @@ ‘right’ => ‘Right’ ), ‘std’ => ‘center’, – ‘desc’ => ‘The position of the image on the page.’ + ‘desc’ => ‘The horizontal position of the image on the page.’ ), array( ‘name’ => ‘Fade?’, @@ -192,7 +204,7 @@ $src = $data[‘src’]; $repeat = $data[‘repeat’]; $color = $data[‘color’]; – $position = $data[‘position’]; + $position = $data[‘vposition’] .’ ‘.$data[‘hposition’]; $attachment = $data[‘attachment’]; $fade = $data[‘fade’]; $fade_height = $data[‘fade_height’]; @@ -374,4 +386,4 @@ } } -?> \ No newline at end of file +?> https://wordpress.org/plugins/background-per-page/ Hello, Thank you for using our plugin. Unfortunately, we can not support this plugin any longer.But we do have a better option for you. We have been working hard on a new plugin called WordPress Extra. It includes all the functionality of Background Per Page and so much more! We would really like you to check it out at wordpressextra.com See you there!

Comments

1 shown
Andy Charrington 2014-12-07T17:52:00+00:00

Hello, Thank you for using our plugin. Unfortunately, we can not support this plugin any longer.But we do have a better option for you. We have been working hard on a new plugin called WordPress Extra. It includes all the functionality of Background Per Page and so much more! We would really like you to check it out at wordpressextra.com See you there!