>
Download This Plugin | |
Download Elegant Themes | |
Name | Pronamic Framework |
Version | 1.4.6 |
Author | Pronamic |
Rating | 0 |
Last updated | 2014-10-20 09:24:00 |
Downloads |
1447
|
Download Plugins Speed Test plugin for Wordpress |
Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%
Pronamic Framework plugin added 10 bytes of resources to the Home page and 19 bytes of resources to the sample Post page.
Pronamic Framework plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.
Great! Pronamic Framework plugin ads no tables to your Wordpress blog database.Login form
[pronamic_login_form]
[pronamic_login_form redirect_to="/"]
Lost password form
[pronamic_lostpassword_form]
Current user posts
[pronamic_current_user_posts]
[pronamic_current_user_posts query="post_type=company"]
Edit post form
[pronamic_edit_post_form]
Terms index
[pronamic_terms_index taxonomy="category"]
[pronamic_terms_index taxonomy="category" parent=""]
Has user image
pronamic_has_user_image( $user_id = null )
Get user image ID
pronamic_get_user_image_id( $user_id = null )
The user image
pronamic_the_user_image( $size = 'post-thumbnail', $attr = '')
Get user image
pronamic_get_the_user_image( $user_id = null, $size = 'post-thumbnail', $attr = '' )
How to use?
$author = (get_query_var('author_name')) ? get_user_by('slug', get_query_var('author_name')) : get_userdata(get_query_var('author'));
if(function_exists('pronamic_get_the_user_image')) {
echo pronamic_get_the_user_image( $author->ID, array(93, 140) );
} else {
echo get_avatar(get_the_author_meta('user_email', $author->ID), apply_filters('horses_author_bio_avatar_size', 90));
}
<?php
$query = new WP_Query();
$query->query(array(
'post_type' => 'pronamic_block' ,
'name' => 'contact'
));
while($query->have_posts()) {
$query->the_post();
the_content();
}
?>