WPtouch - Version 4.3.6

Version Description

Download this release

Release Info

Developer bravenewcode
Plugin Icon 128x128 WPtouch
Version 4.3.6
Comparing to
See all releases

Code changes from version 4.3.5 to 4.3.6

lang/wptouch.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the same license as the WPtouch Mobile Plugin package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: WPtouch Mobile Plugin 4.3.5\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wptouch\n"
7
- "POT-Creation-Date: 2016-10-27 19:00:57+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -1824,234 +1824,234 @@ msgstr ""
1824
  msgid "desktop"
1825
  msgstr ""
1826
 
1827
- #: themes/bauhaus/root-functions.php:149
1828
  msgid "Header Menu"
1829
  msgstr ""
1830
 
1831
- #: themes/bauhaus/root-functions.php:151
1832
  msgid "Choose a menu"
1833
  msgstr ""
1834
 
1835
- #: themes/bauhaus/root-functions.php:152
1836
  msgid "Main menu selection"
1837
  msgstr ""
1838
 
1839
- #: themes/bauhaus/root-functions.php:159
1840
  msgid "Theme background"
1841
  msgstr ""
1842
 
1843
- #: themes/bauhaus/root-functions.php:160
1844
  msgid "Header & Menu"
1845
  msgstr ""
1846
 
1847
- #: themes/bauhaus/root-functions.php:161
1848
  msgid "Links"
1849
  msgstr ""
1850
 
1851
- #: themes/bauhaus/root-functions.php:162
1852
  msgid "Post/Page Headers"
1853
  msgstr ""
1854
 
1855
- #: themes/bauhaus/root-functions.php:274
1856
  msgid "Menu animation style"
1857
  msgstr ""
1858
 
1859
- #: themes/bauhaus/root-functions.php:279
1860
  msgid "Off-canvas"
1861
  msgstr ""
1862
 
1863
- #: themes/bauhaus/root-functions.php:280
1864
  msgid "Drop-down"
1865
  msgstr ""
1866
 
1867
- #: themes/bauhaus/root-functions.php:288
1868
  msgid "Menu position"
1869
  msgstr ""
1870
 
1871
- #: themes/bauhaus/root-functions.php:293
1872
  msgid "Left side"
1873
  msgstr ""
1874
 
1875
- #: themes/bauhaus/root-functions.php:294
1876
  msgid "Right side"
1877
  msgstr ""
1878
 
1879
- #: themes/bauhaus/root-functions.php:302
1880
  msgid "Show search in header"
1881
  msgstr ""
1882
 
1883
- #: themes/bauhaus/root-functions.php:319
1884
  msgid "Post thumbnails"
1885
  msgstr ""
1886
 
1887
- #: themes/bauhaus/root-functions.php:324
1888
  msgid "No thumbnails"
1889
  msgstr ""
1890
 
1891
- #: themes/bauhaus/root-functions.php:325
1892
  msgid "Blog listing only"
1893
  msgstr ""
1894
 
1895
- #: themes/bauhaus/root-functions.php:326
1896
  msgid "Blog listing, single posts"
1897
  msgstr ""
1898
 
1899
- #: themes/bauhaus/root-functions.php:327
1900
  msgid "Blog listing, single posts & pages"
1901
  msgstr ""
1902
 
1903
- #: themes/bauhaus/root-functions.php:328
1904
  msgid "All (blog, single, pages, search & archive)"
1905
  msgstr ""
1906
 
1907
- #: themes/bauhaus/root-functions.php:336
1908
  msgid "Thumbnail Type"
1909
  msgstr ""
1910
 
1911
- #: themes/bauhaus/root-functions.php:341
1912
  msgid "Post featured images"
1913
  msgstr ""
1914
 
1915
- #: themes/bauhaus/root-functions.php:342
1916
  msgid "Post custom field"
1917
  msgstr ""
1918
 
1919
- #: themes/bauhaus/root-functions.php:350
1920
  msgid "Thumbnail custom field name"
1921
  msgstr ""
1922
 
1923
- #: themes/bauhaus/root-functions.php:361
1924
  msgid "Show post categories and tags"
1925
  msgstr ""
1926
 
1927
- #: themes/bauhaus/root-functions.php:372
1928
  msgid "Show post date"
1929
  msgstr ""
1930
 
1931
- #: themes/bauhaus/root-functions.php:383
1932
  msgid "Show post author"
1933
  msgstr ""
1934
 
1935
- #: themes/bauhaus/root-functions.php:394
1936
  msgid "Show comment bubbles on posts"
1937
  msgstr ""
1938
 
1939
- #: themes/bauhaus/root-functions.php:405
1940
  msgid "Use infinite scrolling for blog"
1941
  msgstr ""
1942
 
1943
- #: themes/bauhaus/root-functions.php:424
1944
  msgid "Blog Appearance"
1945
  msgstr ""
1946
 
1947
- #: themes/bauhaus/root-functions.php:429
1948
  msgid "List View"
1949
  msgstr ""
1950
 
1951
- #: themes/bauhaus/root-functions.php:430
1952
  msgid "Carousel View"
1953
  msgstr ""
1954
 
1955
- #: themes/bauhaus/root-functions.php:436
1956
  msgid "Show featured posts"
1957
  msgstr ""
1958
 
1959
- #: themes/bauhaus/root-functions.php:446
1960
  msgid "Show slider nav bar"
1961
  msgstr ""
1962
 
1963
- #: themes/bauhaus/root-functions.php:456
1964
  msgid "Autoplay"
1965
  msgstr ""
1966
 
1967
- #: themes/bauhaus/root-functions.php:466
1968
  msgid "Show featured posts slider"
1969
  msgstr ""
1970
 
1971
- #: themes/bauhaus/root-functions.php:476
1972
  msgid "Show popular posts slider"
1973
  msgstr ""
1974
 
1975
- #: themes/bauhaus/root-functions.php:486
1976
  msgid "Max number of posts in popular slider"
1977
  msgstr ""
1978
 
1979
- #: themes/bauhaus/root-functions.php:503
1980
  msgid "Max number of featured posts"
1981
  msgstr ""
1982
 
1983
- #: themes/bauhaus/root-functions.php:517
1984
  msgid "Featured posts also show in latest posts"
1985
  msgstr ""
1986
 
1987
- #: themes/bauhaus/root-functions.php:527
1988
  msgid "Featured posts to display"
1989
  msgstr ""
1990
 
1991
- #: themes/bauhaus/root-functions.php:532
1992
  #: themes/foundation/modules/featured/featured.php:434
1993
  msgid "Show latest posts"
1994
  msgstr ""
1995
 
1996
- #: themes/bauhaus/root-functions.php:533
1997
  #: themes/foundation/modules/featured/featured.php:435
1998
  msgid "Show posts from a specific tag"
1999
  msgstr ""
2000
 
2001
- #: themes/bauhaus/root-functions.php:534
2002
  #: themes/foundation/modules/featured/featured.php:436
2003
  msgid "Show posts from a specific category"
2004
  msgstr ""
2005
 
2006
- #: themes/bauhaus/root-functions.php:535
2007
  #: themes/foundation/modules/featured/featured.php:437
2008
  msgid "Show posts from a specific post type"
2009
  msgstr ""
2010
 
2011
- #: themes/bauhaus/root-functions.php:536
2012
  #: themes/foundation/modules/featured/featured.php:438
2013
  msgid "Show only specific posts or pages"
2014
  msgstr ""
2015
 
2016
- #: themes/bauhaus/root-functions.php:543
2017
  #: themes/foundation/modules/featured/featured.php:444
2018
  msgid "Only this tag"
2019
  msgstr ""
2020
 
2021
- #: themes/bauhaus/root-functions.php:544 themes/bauhaus/root-functions.php:554
2022
  #: themes/foundation/modules/featured/featured.php:445
2023
  #: themes/foundation/modules/featured/featured.php:454
2024
  msgid "Enter the tag/category slug name"
2025
  msgstr ""
2026
 
2027
- #: themes/bauhaus/root-functions.php:553
2028
  #: themes/foundation/modules/featured/featured.php:453
2029
  msgid "Only this category"
2030
  msgstr ""
2031
 
2032
- #: themes/bauhaus/root-functions.php:563
2033
  #: themes/foundation/modules/featured/featured.php:462
2034
  msgid "Comma-separated list of post/page IDs"
2035
  msgstr ""
2036
 
2037
- #: themes/bauhaus/root-functions.php:573
2038
  msgid "Featured Slider Page"
2039
  msgstr ""
2040
 
2041
- #: themes/bauhaus/root-functions.php:574
2042
  msgid "Choose which page should display the featured slider"
2043
  msgstr ""
2044
 
2045
- #: themes/bauhaus/root-functions.php:586
2046
  #: themes/foundation/modules/featured/featured.php:473
2047
  msgid "Only this post type"
2048
  msgstr ""
2049
 
2050
- #: themes/bauhaus/root-functions.php:599
2051
  msgid "Blog Featured Slider"
2052
  msgstr ""
2053
 
2054
- #: themes/bauhaus/root-functions.php:609
2055
  msgid "Blog Layout"
2056
  msgstr ""
2057
 
2
  # This file is distributed under the same license as the WPtouch Mobile Plugin package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: WPtouch Mobile Plugin 4.3.6\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wptouch\n"
7
+ "POT-Creation-Date: 2016-11-10 20:00:56+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
1824
  msgid "desktop"
1825
  msgstr ""
1826
 
1827
+ #: themes/bauhaus/root-functions.php:150
1828
  msgid "Header Menu"
1829
  msgstr ""
1830
 
1831
+ #: themes/bauhaus/root-functions.php:152
1832
  msgid "Choose a menu"
1833
  msgstr ""
1834
 
1835
+ #: themes/bauhaus/root-functions.php:153
1836
  msgid "Main menu selection"
1837
  msgstr ""
1838
 
1839
+ #: themes/bauhaus/root-functions.php:160
1840
  msgid "Theme background"
1841
  msgstr ""
1842
 
1843
+ #: themes/bauhaus/root-functions.php:161
1844
  msgid "Header & Menu"
1845
  msgstr ""
1846
 
1847
+ #: themes/bauhaus/root-functions.php:162
1848
  msgid "Links"
1849
  msgstr ""
1850
 
1851
+ #: themes/bauhaus/root-functions.php:163
1852
  msgid "Post/Page Headers"
1853
  msgstr ""
1854
 
1855
+ #: themes/bauhaus/root-functions.php:275
1856
  msgid "Menu animation style"
1857
  msgstr ""
1858
 
1859
+ #: themes/bauhaus/root-functions.php:280
1860
  msgid "Off-canvas"
1861
  msgstr ""
1862
 
1863
+ #: themes/bauhaus/root-functions.php:281
1864
  msgid "Drop-down"
1865
  msgstr ""
1866
 
1867
+ #: themes/bauhaus/root-functions.php:289
1868
  msgid "Menu position"
1869
  msgstr ""
1870
 
1871
+ #: themes/bauhaus/root-functions.php:294
1872
  msgid "Left side"
1873
  msgstr ""
1874
 
1875
+ #: themes/bauhaus/root-functions.php:295
1876
  msgid "Right side"
1877
  msgstr ""
1878
 
1879
+ #: themes/bauhaus/root-functions.php:303
1880
  msgid "Show search in header"
1881
  msgstr ""
1882
 
1883
+ #: themes/bauhaus/root-functions.php:320
1884
  msgid "Post thumbnails"
1885
  msgstr ""
1886
 
1887
+ #: themes/bauhaus/root-functions.php:325
1888
  msgid "No thumbnails"
1889
  msgstr ""
1890
 
1891
+ #: themes/bauhaus/root-functions.php:326
1892
  msgid "Blog listing only"
1893
  msgstr ""
1894
 
1895
+ #: themes/bauhaus/root-functions.php:327
1896
  msgid "Blog listing, single posts"
1897
  msgstr ""
1898
 
1899
+ #: themes/bauhaus/root-functions.php:328
1900
  msgid "Blog listing, single posts & pages"
1901
  msgstr ""
1902
 
1903
+ #: themes/bauhaus/root-functions.php:329
1904
  msgid "All (blog, single, pages, search & archive)"
1905
  msgstr ""
1906
 
1907
+ #: themes/bauhaus/root-functions.php:337
1908
  msgid "Thumbnail Type"
1909
  msgstr ""
1910
 
1911
+ #: themes/bauhaus/root-functions.php:342
1912
  msgid "Post featured images"
1913
  msgstr ""
1914
 
1915
+ #: themes/bauhaus/root-functions.php:343
1916
  msgid "Post custom field"
1917
  msgstr ""
1918
 
1919
+ #: themes/bauhaus/root-functions.php:351
1920
  msgid "Thumbnail custom field name"
1921
  msgstr ""
1922
 
1923
+ #: themes/bauhaus/root-functions.php:362
1924
  msgid "Show post categories and tags"
1925
  msgstr ""
1926
 
1927
+ #: themes/bauhaus/root-functions.php:373
1928
  msgid "Show post date"
1929
  msgstr ""
1930
 
1931
+ #: themes/bauhaus/root-functions.php:384
1932
  msgid "Show post author"
1933
  msgstr ""
1934
 
1935
+ #: themes/bauhaus/root-functions.php:395
1936
  msgid "Show comment bubbles on posts"
1937
  msgstr ""
1938
 
1939
+ #: themes/bauhaus/root-functions.php:406
1940
  msgid "Use infinite scrolling for blog"
1941
  msgstr ""
1942
 
1943
+ #: themes/bauhaus/root-functions.php:425
1944
  msgid "Blog Appearance"
1945
  msgstr ""
1946
 
1947
+ #: themes/bauhaus/root-functions.php:430
1948
  msgid "List View"
1949
  msgstr ""
1950
 
1951
+ #: themes/bauhaus/root-functions.php:431
1952
  msgid "Carousel View"
1953
  msgstr ""
1954
 
1955
+ #: themes/bauhaus/root-functions.php:437
1956
  msgid "Show featured posts"
1957
  msgstr ""
1958
 
1959
+ #: themes/bauhaus/root-functions.php:447
1960
  msgid "Show slider nav bar"
1961
  msgstr ""
1962
 
1963
+ #: themes/bauhaus/root-functions.php:457
1964
  msgid "Autoplay"
1965
  msgstr ""
1966
 
1967
+ #: themes/bauhaus/root-functions.php:467
1968
  msgid "Show featured posts slider"
1969
  msgstr ""
1970
 
1971
+ #: themes/bauhaus/root-functions.php:477
1972
  msgid "Show popular posts slider"
1973
  msgstr ""
1974
 
1975
+ #: themes/bauhaus/root-functions.php:487
1976
  msgid "Max number of posts in popular slider"
1977
  msgstr ""
1978
 
1979
+ #: themes/bauhaus/root-functions.php:504
1980
  msgid "Max number of featured posts"
1981
  msgstr ""
1982
 
1983
+ #: themes/bauhaus/root-functions.php:518
1984
  msgid "Featured posts also show in latest posts"
1985
  msgstr ""
1986
 
1987
+ #: themes/bauhaus/root-functions.php:528
1988
  msgid "Featured posts to display"
1989
  msgstr ""
1990
 
1991
+ #: themes/bauhaus/root-functions.php:533
1992
  #: themes/foundation/modules/featured/featured.php:434
1993
  msgid "Show latest posts"
1994
  msgstr ""
1995
 
1996
+ #: themes/bauhaus/root-functions.php:534
1997
  #: themes/foundation/modules/featured/featured.php:435
1998
  msgid "Show posts from a specific tag"
1999
  msgstr ""
2000
 
2001
+ #: themes/bauhaus/root-functions.php:535
2002
  #: themes/foundation/modules/featured/featured.php:436
2003
  msgid "Show posts from a specific category"
2004
  msgstr ""
2005
 
2006
+ #: themes/bauhaus/root-functions.php:536
2007
  #: themes/foundation/modules/featured/featured.php:437
2008
  msgid "Show posts from a specific post type"
2009
  msgstr ""
2010
 
2011
+ #: themes/bauhaus/root-functions.php:537
2012
  #: themes/foundation/modules/featured/featured.php:438
2013
  msgid "Show only specific posts or pages"
2014
  msgstr ""
2015
 
2016
+ #: themes/bauhaus/root-functions.php:544
2017
  #: themes/foundation/modules/featured/featured.php:444
2018
  msgid "Only this tag"
2019
  msgstr ""
2020
 
2021
+ #: themes/bauhaus/root-functions.php:545 themes/bauhaus/root-functions.php:555
2022
  #: themes/foundation/modules/featured/featured.php:445
2023
  #: themes/foundation/modules/featured/featured.php:454
2024
  msgid "Enter the tag/category slug name"
2025
  msgstr ""
2026
 
2027
+ #: themes/bauhaus/root-functions.php:554
2028
  #: themes/foundation/modules/featured/featured.php:453
2029
  msgid "Only this category"
2030
  msgstr ""
2031
 
2032
+ #: themes/bauhaus/root-functions.php:564
2033
  #: themes/foundation/modules/featured/featured.php:462
2034
  msgid "Comma-separated list of post/page IDs"
2035
  msgstr ""
2036
 
2037
+ #: themes/bauhaus/root-functions.php:574
2038
  msgid "Featured Slider Page"
2039
  msgstr ""
2040
 
2041
+ #: themes/bauhaus/root-functions.php:575
2042
  msgid "Choose which page should display the featured slider"
2043
  msgstr ""
2044
 
2045
+ #: themes/bauhaus/root-functions.php:587
2046
  #: themes/foundation/modules/featured/featured.php:473
2047
  msgid "Only this post type"
2048
  msgstr ""
2049
 
2050
+ #: themes/bauhaus/root-functions.php:600
2051
  msgid "Blog Featured Slider"
2052
  msgstr ""
2053
 
2054
+ #: themes/bauhaus/root-functions.php:610
2055
  msgid "Blog Layout"
2056
  msgstr ""
2057
 
readme.txt CHANGED
@@ -2,7 +2,7 @@
2
  Contributors: kbmcardle, bravenewcode, duanestorey, dalemugford, adamdipardo,
3
  Tags: wptouch, iphone, ipod, bravenewcode, mobile, mobile-friendly, android, blackberry, smartphone, responsive, design, mobile plugin, ios, mobile theme
4
  Requires at least: 4.2
5
- Stable tag: 4.3.5
6
  Tested up to: 4.6
7
  License: GPLv2
8
 
@@ -33,6 +33,11 @@ For more information visit [WPtouch.com](http://www.wptouch.com/?utm_campaign=wp
33
 
34
  == Changelog ==
35
 
 
 
 
 
 
36
  = Version 4.3.5 (October 27, 2016) =
37
 
38
  * Fixed: Warnings that appeared for sites running PHP 7
2
  Contributors: kbmcardle, bravenewcode, duanestorey, dalemugford, adamdipardo,
3
  Tags: wptouch, iphone, ipod, bravenewcode, mobile, mobile-friendly, android, blackberry, smartphone, responsive, design, mobile plugin, ios, mobile theme
4
  Requires at least: 4.2
5
+ Stable tag: 4.3.6
6
  Tested up to: 4.6
7
  License: GPLv2
8
 
33
 
34
  == Changelog ==
35
 
36
+ = Version 4.3.6 (November 10, 2016) =
37
+
38
+ * Fixed: Featured slider now won't show if no posts have a featured image
39
+ * Fixed: Minor bugs and issues reported by customers and users
40
+
41
  = Version 4.3.5 (October 27, 2016) =
42
 
43
  * Fixed: Warnings that appeared for sites running PHP 7
themes/bauhaus/default/functions.php CHANGED
@@ -165,6 +165,10 @@ function bauhaus_featured_modify_query( $query ) {
165
  return;
166
  }
167
 
 
 
 
 
168
  $should_modify_query = apply_filters(
169
  'bauhaus_featured_should_modify_query',
170
  ( $query->is_single || $query->is_page || $query->is_feed || $query->is_search || $query->is_archive || $query->is_category ) == false,
@@ -179,9 +183,17 @@ function bauhaus_featured_modify_query( $query ) {
179
 
180
  $post_array = array();
181
 
 
 
182
  if ( is_array( $bauhaus_featured_posts ) && count( $bauhaus_featured_posts ) > 0 ) {
183
  foreach( $bauhaus_featured_posts as $post_id ) {
184
  $post_array[] = '-' . $post_id;
 
 
 
 
 
 
185
  }
186
  }
187
 
@@ -279,6 +291,12 @@ function bauhaus_should_show_carousel_featured() {
279
 
280
  function bauhaus_featured_slider() {
281
  global $bauhaus_featured_posts;
 
 
 
 
 
 
282
  $settings = bauhaus_get_settings();
283
  $args = bauhaus_featured_get_args();
284
  $classes = array();
165
  return;
166
  }
167
 
168
+ if ( !$settings->bauhaus_featured_filter_posts && !$settings->bauhaus_featured_enabled ) {
169
+ return;
170
+ }
171
+
172
  $should_modify_query = apply_filters(
173
  'bauhaus_featured_should_modify_query',
174
  ( $query->is_single || $query->is_page || $query->is_feed || $query->is_search || $query->is_archive || $query->is_category ) == false,
183
 
184
  $post_array = array();
185
 
186
+ $post_count = 1;
187
+
188
  if ( is_array( $bauhaus_featured_posts ) && count( $bauhaus_featured_posts ) > 0 ) {
189
  foreach( $bauhaus_featured_posts as $post_id ) {
190
  $post_array[] = '-' . $post_id;
191
+
192
+ // ensure that we're not excluding more posts than in the slider
193
+ $post_count++;
194
+ if ( $post_count > $settings->bauhaus_featured_max_number_of_posts ) {
195
+ break;
196
+ }
197
  }
198
  }
199
 
291
 
292
  function bauhaus_featured_slider() {
293
  global $bauhaus_featured_posts;
294
+
295
+ // ensure at least one featured post has been found
296
+ if ( $bauhaus_featured_posts === null || count($bauhaus_featured_posts) == 0 ) {
297
+ return;
298
+ }
299
+
300
  $settings = bauhaus_get_settings();
301
  $args = bauhaus_featured_get_args();
302
  $classes = array();
themes/bauhaus/readme.txt CHANGED
@@ -2,7 +2,7 @@ Theme Name: Bauhaus
2
  Theme URI: http://www.wptouch.com/themes/bauhaus
3
  Author: BraveNewCode Inc.
4
  Description: Clean, modern, functional design. Great for all types of WordPress sites.
5
- Version: 2.0.3
6
  Depends on: 4.3
7
  Framework: 2.0
8
  Tags: smartphone
@@ -25,6 +25,11 @@ Bauhaus is one of our more flexible themes, and is designed to easily take on th
25
 
26
  == Changelog ==
27
 
 
 
 
 
 
28
  = Version 2.0.3 =
29
 
30
  * Fixed: Minor CSS tweaks
2
  Theme URI: http://www.wptouch.com/themes/bauhaus
3
  Author: BraveNewCode Inc.
4
  Description: Clean, modern, functional design. Great for all types of WordPress sites.
5
+ Version: 2.0.4
6
  Depends on: 4.3
7
  Framework: 2.0
8
  Tags: smartphone
25
 
26
  == Changelog ==
27
 
28
+ = Version 2.0.4 =
29
+
30
+ * Fixed: Featured slider now won't show if no posts have a featured image
31
+ * Fixed: Minor issues and bugs
32
+
33
  = Version 2.0.3 =
34
 
35
  * Fixed: Minor CSS tweaks
themes/bauhaus/root-functions.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- define( 'BAUHAUS_THEME_VERSION', '2.0.3' );
4
  define( 'BAUHAUS_SETTING_DOMAIN', 'bauhaus' );
5
  define( 'BAUHAUS_DIR', wptouch_get_bloginfo( 'theme_root_directory' ) );
6
  define( 'BAUHAUS_URL', wptouch_get_bloginfo( 'theme_parent_url' ) );
@@ -88,6 +88,7 @@ function bauhaus_setting_defaults( $settings ) {
88
  $settings->bauhaus_featured_post_ids = '';
89
  $settings->bauhaus_featured_max_number_of_posts = '5';
90
  $settings->bauhaus_featured_filter_posts = true;
 
91
 
92
  $settings->bauhaus_post_listing_view = 'default';
93
 
1
  <?php
2
 
3
+ define( 'BAUHAUS_THEME_VERSION', '2.0.4' );
4
  define( 'BAUHAUS_SETTING_DOMAIN', 'bauhaus' );
5
  define( 'BAUHAUS_DIR', wptouch_get_bloginfo( 'theme_root_directory' ) );
6
  define( 'BAUHAUS_URL', wptouch_get_bloginfo( 'theme_parent_url' ) );
88
  $settings->bauhaus_featured_post_ids = '';
89
  $settings->bauhaus_featured_max_number_of_posts = '5';
90
  $settings->bauhaus_featured_filter_posts = true;
91
+ $settings->featured_slider_page = false;
92
 
93
  $settings->bauhaus_post_listing_view = 'default';
94
 
themes/foundation/modules/custom-latest-posts/custom-latest-posts.php CHANGED
@@ -35,6 +35,9 @@ function wptouch_custom_latest_post_filter( $query_vars ) {
35
 
36
  // Since we're modifying the query here, we need to prevent the custom landing page redirect from firing for this request (it'll think it's loading the homepage)
37
  add_filter( 'wptouch_redirect_target', 'wptouch_return_false' );
 
 
 
38
  }
39
  }
40
  }
@@ -74,4 +77,13 @@ function wptouch_fdn_is_custom_latest_posts_page() {
74
 
75
  function wptouch_fdn_custom_latest_posts_query() {
76
  return false;
77
- }
 
 
 
 
 
 
 
 
 
35
 
36
  // Since we're modifying the query here, we need to prevent the custom landing page redirect from firing for this request (it'll think it's loading the homepage)
37
  add_filter( 'wptouch_redirect_target', 'wptouch_return_false' );
38
+
39
+ // filter for Yoast SEO to force site title to be name of blog
40
+ add_filter( 'wpseo_title', 'wptouch_custom_latest_post_title' );
41
  }
42
  }
43
  }
77
 
78
  function wptouch_fdn_custom_latest_posts_query() {
79
  return false;
80
+ }
81
+
82
+ function wptouch_custom_latest_post_title( $title ) {
83
+
84
+ if ( get_bloginfo( 'description' ) == '' ) {
85
+ return get_bloginfo( 'name' );
86
+ } else {
87
+ return get_bloginfo( 'name' ) . ' - ' . get_bloginfo( 'description' );
88
+ }
89
+ }
wptouch.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: WPtouch Mobile Plugin
4
  Plugin URI: http://www.wptouch.com/
5
- Version: 4.3.5
6
  Description: Make a beautiful mobile-friendly version of your website with just a few clicks
7
  Author: BraveNewCode Inc.
8
  Author URI: http://www.bravenewcode.com/
@@ -14,7 +14,7 @@
14
 
15
  function wptouch_create_four_object() {
16
  if ( !defined( 'WPTOUCH_IS_PRO' ) ) {
17
- define( 'WPTOUCH_VERSION', '4.3.5' );
18
 
19
  define( 'WPTOUCH_BASE_NAME', basename( __FILE__, '.php' ) . '.php' );
20
  define( 'WPTOUCH_DIR', WP_PLUGIN_DIR . DIRECTORY_SEPARATOR . basename( __FILE__, '.php' ) );
2
  /*
3
  Plugin Name: WPtouch Mobile Plugin
4
  Plugin URI: http://www.wptouch.com/
5
+ Version: 4.3.6
6
  Description: Make a beautiful mobile-friendly version of your website with just a few clicks
7
  Author: BraveNewCode Inc.
8
  Author URI: http://www.bravenewcode.com/
14
 
15
  function wptouch_create_four_object() {
16
  if ( !defined( 'WPTOUCH_IS_PRO' ) ) {
17
+ define( 'WPTOUCH_VERSION', '4.3.6' );
18
 
19
  define( 'WPTOUCH_BASE_NAME', basename( __FILE__, '.php' ) . '.php' );
20
  define( 'WPTOUCH_DIR', WP_PLUGIN_DIR . DIRECTORY_SEPARATOR . basename( __FILE__, '.php' ) );