For the main listing page where all the profiles are, edit the content-listing.php (via the child theme if you have it) and find:
<div class="content-listing listing-faves">
<?php...
For the main listing page where all the profiles are, edit the content-listing.php (via the child theme if you have it) and find:
<div class="content-listing listing-faves">
<?php...
You can accomplish this by adding the following function to your child themes function.php file
/* Do not allow non admins to access wp-admin */
add_action( 'init', 'blockusers_init' );...
Well I finally updated mine to 1.1.2 (after most of the bugs were worked out) and now here is the correction to my previous redirect hack. All you need to do is go to the following template files...
To Redirect the user after logging in.
Go to /vantage/includes/core.php and find (around line 219):
function va_redirect_to_front_page() {
if (!isset($_GET['redirect_to'])) {...
I made two small edits:
1) In wrapper.php (head section) change:
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
To:
<meta name="viewport" content="width=1200" />...
open page.php and change (Good idea to add this page to your child theme):
<header>
<h1><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
</header>
...
In the function, there is a number after the word "return" that number determines how many characters are shown. So in my example it is 50. You can change this to any number.
To have the blog show an excerpt instead of the entire post go to index.php and change (If using a child theme, copy the file to your child folder to make the edit so that when an update comes it...