Iman Ben Chaibah
Forum Replies Created
-
Forum: Plugins
In reply to: [Media Credit] author page doesn't show the media galleryNot really.. but it’s getting too complicated that I’m not sure if it’s possible or not. I provided the code and it clearly shows that it would only show the media if the user has a post under their name which isn’t the case with my designers. unless you have a workaround?
Forum: Plugins
In reply to: [Media Credit] author page doesn't show the media galleryStill same issue… How can I show you the error log? where to get it from?
Forum: Plugins
In reply to: [Media Credit] author page doesn't show the media galleryHello Pepe, not sure what are you referring to by this “HP doesn’t have pass by name. It might evaluate correctly ($<var> = <literal> evaluates to <literal>), but the parameter assignment is by position only.” And this php statement you mentioned I copied it exactly from the FAQs page of the plugin, just replaced $author_id with “get_the_author_ID()”
As I mentioned if the author has a post assigned to them the media shows perfectly, only if the author has no posts assigned to them I won’t get any media regardless of the credit.Forum: Plugins
In reply to: [Media Credit] author page doesn't show the media galleryThank you Pepe,
here is the code of the author page:
<?php get_header(); ?>
<?php $sidebar = pukka_get_option(‘show_category_sidebar’); ?>
<div id=”content” class=”<?php if(!empty($sidebar) && ‘none’ != $sidebar){ echo ‘sidebar-‘ . $sidebar; } ?>” role=”main”><div class=”content-wrap”>
<header class=”archive-header”>
<h1 class=”archive-title”><?php echo get_the_author(); ?></h1>
</header><!– .archive-header –>
<?php if ( get_the_author_meta( ‘description’ ) ) : ?>
<?php echo get_the_author_meta( ‘description’ ); ?>
<?php endif; ?>
<p></p>
<?php display_author_media(get_the_author_ID(), $sidebar = false, $limit = 15,$link_without_parent = false, $header = “<h5>Recent Artwork</h3>”, $exclude_unattached = true); ?>
<?php if ( have_posts() ) : ?></div> <!–. content-wrap –>
<?php
/* Queue the first post, that way we know
* what author we’re dealing with.
*/
the_post();
?>
<?php
/* Since we called the_post() above, we need to
* rewind the loop back to the beginning.
*/
rewind_posts();
?><?php /* The loop */ ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( ‘content’, get_post_format() ); ?>
<?php endwhile; ?><?php pukka_paging_nav(); ?>
<?php else : ?>
<?php get_template_part( ‘content’, ‘none’ ); ?>
<?php endif; ?></div><!– #content –>
<?php
if(!empty($sidebar) && ‘none’ != $sidebar){
get_sidebar($sidebar);
}
?>
<?php get_footer(); ?>Forum: Plugins
In reply to: [Media Credit] author page doesn't show the media galleryHello? Any update on this please?
Forum: Plugins
In reply to: [Media Credit] author page doesn't show the media galleryAlright, what about the case where the author isn’t exactly assigned to any post? just media credit?
Forum: Plugins
In reply to: [Media Credit] author page doesn't show the media galleryI have one only problem now,, the media credit page will only know if the author has posts assigned to them, but my artists are separate from my writers so they only have media assigned to them not posts. Is there anyway around it?
Forum: Plugins
In reply to: [Media Credit] author page doesn't show the media galleryOk so I set the sidebar to false, but I would like to get it the same way you showed it in the screenshots, all consistent size thumbnails, how can I do that?
Forum: Plugins
In reply to: [Media Credit] author page doesn't show the media galleryThank you! that did make sense. Alright so now I added the right function to return the ID, but now wherever I place the call for the media, it always aligns it as a right column! This is the link for your reference: http://sailemagazine.com/author/DanaAlAttar/
Forum: Plugins
In reply to: [AdRotate Banner Manager] Adrotate locked my admin dashboardYess! Like @rngeer said, must have been slow PHP upgrade in the back end. I’m finally working on the new version as well.
Thank you guys.Forum: Plugins
In reply to: [AdRotate Banner Manager] Adrotate locked my admin dashboardhey @arnan, I deleted the plugin by ftp, and then updated the php to 5.3 through godaddy, and then reinstalled the plugin but still the same issue persisted! Can you help? I’m now losing on the advertisement and don’t want the advertisers to notice already >.<“
Thanks