Mwalima
Forum Replies Created
-
Forum: Plugins
In reply to: [Author Avatars List/Block] Add custom post types supportgreat idea, which version are you using? I am on :1.8.6.5
in my UserList.class.php on line 944 it looks like this:
// Hide hidden users
if (// if we have set some users which we want to hide
is_array( $this->hiddenusers ) && ! empty( $this->hiddenusers ) &&
// and the current user is one of them
( in_array( $user->user_login, $this->hiddenusers ) || in_array( $user->user_id, $this->hiddenusers ) )) {
// do not add this user
$add = false;
}
// real user
where do i put this line of code?Thanks Mwalima
Forum: Plugins
In reply to: [WP Author Bio] Hide contact info field in user profile pageI found it:
I created a child plugin in sexy_author_bio.php
/**
* Sexy Author Bio
*
* @package Sexy_Author_Bio
* @author Andy Forsberg <[email protected]>
* @license GPL-2.0+
* @copyright 2015 Penguin Initiatives
*
* @wordpress-plugin
* Plugin Name: Sexy Author Bio Child
* Description: A WordPress author bio plugin that adds a sexy, custom about the author box below your posts for single and multiple authors.
* Version: 1.3.6
* Author: penguininitiatives
* Author URI: https://penguininitiatives.com/
* Text Domain: sexy-author-bio
* License: GPL-2.0+
* License URI: https://www.gnu.org/licenses/gpl-2.0.txt
* Domain Path: /languages
* Template: Sexy_Author_Bio
*/and unset in on line 570 in class-sexy-author-bio.php
public function contact_methods( $methods ) {
// Add new methods.
//$methods[‘behance’] = __( ‘Behance’, $this->plugin_slug );
//$methods[‘blogger’] = __( ‘Blogger’, $this->plugin_slug );
//$methods[‘delicious’] = __( ‘Delicious’, $this->plugin_slug );
//$methods[‘deviantart’] = __( ‘DeviantArt’, $this->plugin_slug );
//$methods[‘dribbble’] = __( ‘Dribbble’, $this->plugin_slug );
//$methods[’email2′] = __( ‘Email’, $this->plugin_slug );
//$methods[‘facebook’] = __( ‘Facebook’, $this->plugin_slug );
//$methods[‘flickr’] = __( ‘Flickr’, $this->plugin_slug );
//$methods[‘github’] = __( ‘GitHub’, $this->plugin_slug );
//$methods[‘google’] = __( ‘Google+’, $this->plugin_slug );
//$methods[‘instagram’] = __( ‘Instagram’, $this->plugin_slug );
$methods[‘linkedin’] = __( ‘LinkedIn’, $this->plugin_slug );
//$methods[‘myspace’] = __( ‘MySpace’, $this->plugin_slug );
//$methods[‘pinterest’] = __( ‘Pinterest’, $this->plugin_slug );
//$methods[‘rss’] = __( ‘RSS’, $this->plugin_slug );
//$methods[‘stumbleupon’] = __( ‘StumbleUpon’, $this->plugin_slug );
//$methods[‘tumblr’] = __( ‘Tumblr’, $this->plugin_slug );
$methods[‘twitter’] = __( ‘Twitter’, $this->plugin_slug );
//$methods[‘vimeo’] = __( ‘Vimeo’, $this->plugin_slug );
//$methods[‘wordpress’] = __( ‘WordPress’, $this->plugin_slug );
//$methods[‘yahoo’] = __( ‘Yahoo!’, $this->plugin_slug );
//$methods[‘youtube’] = __( ‘YouTube’, $this->plugin_slug );// Remove old methods.
unset( $methods[‘aim’] );
unset( $methods[‘yim’] );
unset( $methods[‘jabber’] );return $methods;
}I you have better suggestions, I like to hear it.
Forum: Plugins
In reply to: [WP Tiles] Fixed Tiles to static position in GridI put inside the post i want to fix this code:
[wp-tiles post_type=”” orderby=”date” order=”DESC” posts_per_page=”auto” category=”” tag=”” tax_operator=”IN” meta_key=”0″ offset=”0″ post_status=”publish” ignore_sticky_posts=”true” exclude_current_post=”true” grids=”EigenGrid” small_screen_grid=”News” breakpoint=”800″ padding=”5″ pagination=”paging” grid_selector_color=”#444444″]
but i don`t see anything getting fixed.
Forum: Plugins
In reply to: [WP Tiles] Fixed Tiles to static position in GridHi Mike,
I want to fix some tiles in a certain grid position for instance like
grid position 0 7 and 9With the information you sent me i guess you put 4 tiles in these positions?
Do i have to insert this piece of code “[wp-tiles id=324,895,23,987]” in the php file?further more, about the quoted code, where can i find the php file and position to adjust it?(like wp_tiles.php line 345)
Thanks Mwalima
Forum: Plugins
In reply to: [WP Tiles] Fix some tiles in specific positionPlease can you tell me how this should work?
I have wordpresss 4.1 installed and the latest version of wp_tiles.
I want to fix some tiles in certain positions and fill them with all kinds of content.I do not understand the above code. Can you explain in detail?
Thanx Mwalima