Skip to content

Commit 05524fb

Browse files
evuevu
evu
authored and
evu
committed
Minor Changes
Fixed Editors not being able to add media, added IOS meta tag to stop auto creating tel links.
1 parent 37fcd22 commit 05524fb

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

functions.php

-3
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,6 @@ function ed_remove_menus() {
6565
global $submenu;
6666

6767
if ( current_user_can( 'editor' ) ) {
68-
remove_menu_page('tools.php');
69-
remove_menu_page('profile.php');
70-
// remove_menu_page('edit-comments.php');
7168

7269
unset($submenu['themes.php'][5]); //Appearence -> Themes
7370
unset($submenu['themes.php'][6]); //Appearence -> Customise

header.php

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
1414

1515
<meta name="viewport" content="width=device-width, initial-scale=1">
16+
17+
<meta name="format-detection" content="telephone=no">
1618

1719
<?php if (is_search()) { ?>
1820

index.php

+5-3
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,12 @@
2121
<?php
2222

2323
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
24+
$args = array(
25+
'posts_per_page' => 3,
26+
'paged' => $paged
27+
);
2428

25-
$args = array('paged' => $paged);
26-
27-
query_posts( $args );
29+
query_posts($args);
2830

2931
if (have_posts()) : while (have_posts()) : the_post(); ?>
3032

0 commit comments

Comments
 (0)