darkenpl
Forum Replies Created
-
Forum: Plugins
In reply to: [WP RSS Multi Importer] Problems Export RSS Feedhttps://blogosfera.gry-fabularne.pl/?feed=rpg
As you see, here is the link to mixed rss. I can see it in mine chrome, but in to validated here:
https://validator.w3.org/appc/check.cgi?url=http%3A%2F%2Fblogosfera.gry-fabularne.pl%2F%3Ffeed%3DrpgForum: Plugins
In reply to: [WP RSS Multi Importer] Problems Export RSS FeedI don’t want to use feed to post solution. I want to use it for 30-40 rss mix on hidden website, and then give it on my main site.
Like: gry-fabularne.pl is main, blogosfera.gry-fabularne.pl is “hidden”. When I will use blogosfera.gry-fabularne.pl, there will be problem with showing this page to the world, and second, I want to point exactly to source blogs, not to mine in rss feed.
Please, Can you look for solution to this problem?
Forum: Plugins
In reply to: [CollabPress] I see duble when looking on front of CPSended.
Forum: Fixing WordPress
In reply to: Where is code for rss widgetIn particular I want to see code of default rss widget in WordPress 3.5. There is changes in new version.
// substitute actual group ID here (id argument in edit links on User > Role Groups) $group_id_in_question = 12; global $current_user; if ( isset( $current_user->groups[ $group_id_in_question ] ) ) { // do stuff }
So i fount answer. ??
Thank you!
Forum: Fixing WordPress
In reply to: Problem with retriving attachments on custom post typeOk, so here is code: https://pastebin.com/7ZLcreQs
Forum: Fixing WordPress
In reply to: Problem with retriving attachments on custom post type[Code moderated as per the Forum Rules. Please use the pastebin]
Ok, so i did it. Sad, that no one tried to help me. ??
Forum: Fixing WordPress
In reply to: Retrive first attachment, do sth with first, do else with othersI cleaned code as I wanted, but there is a big problem with it:
On every page it shows always the same attachments, the very first attachment I uploaded to this wordpress installation.
Here is my page<?php echo '<div class="box_gallery">'; $args = array( 'post_type' => 'attachment', 'order' => 'ASC', 'post_status' => null, 'post_parent' => $post->ID ); $attachments = get_posts($args); if ($attachments) { $i = 0; $len = count($attachments); foreach ( $attachments as $attachment ) { if ($i == 0) { $picture_src = wp_get_attachment_url($attachment->ID, 'medium'); ?><div class="main_pic"><img src="<?php echo $picture_src; ?>"></div> <div class="box_for_small_pics"> <?php $i++; }else{ $picture_src = wp_get_attachment_thumb_url($attachment->ID); ?><div class="small_pics"><a href="<?php echo $picture_src; ?>"><img src="<?php echo $picture_src; ?>"></a></div> <?php $i++; } } } echo '</div></div>'; ?>
Forum: Fixing WordPress
In reply to: Retrive first attachment, do sth with first, do else with othersbump