How to add list of other blogs, with latest posts from those blogs, to a single page of my website?

I would like a self-updating list like the one at the bottom left of this page https://aclerkofoxford.blogspot.com/p/old-english-wisdom.html added to just one page of my website. I don't care how it's done, although I would prefer custom code I can add myself, rather than using a plugin. I have searched on this site for hints, but most results seem to be about listing one's own blog rather than others. Many thanks.
Category: Web

URLs for (MultiSite) link images are always relative

How I can I get WordPress to stop making link-image URLs relative? I'm trying to add logos to the blog-roll widget, but WordPress makes the URLs of the images relative to the current blog. For example, if the site is example.com/blogs, the images in the blog-roll widget at the main blog work correctly, but the ones at example.com/blogs/foobar are broken because instead of using something like /common/bloglogos/main.png (or even https://example.com/common/blog/logos/main.png), it uses https://example.com/blogs/foobar/common/bloglogos/main.png. I've tried various combinations of URLs and …
Category: Web

The first post appears twice

The slider I made lists the first article 2 times. They said I could solve this problem using "post__not_in". Could you help me figure out how to do this? <div id="banner"> <div id="anaslayt" class="col-xs-12 col-sm-12"> <?php query_posts('showposts=10&cat=1'); ?> <?php while (have_posts()) : the_post(); ?> <a class="slidesjs-slide" href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"> <?php if(has_post_thumbnail()) { the_post_thumbnail(); } elseif( $thumbnail = get_post_meta($post->ID, 'resim', true) ){ ?> <img src ="<?php echo $thumbnail; ?>" alt="<?php the_title(); ?>" title = "<?php the_title(); ?>" /></a> …
Category: Web

Blogroll links sorted by category in a table

I would like to create a blogroll page with a table where the links would be in the left table division and the description in the right division. So far, everything works... Where it becomes tricky is that I would like a table for each link category. Unfortunately, the sql table links doesn't have a column link_category, it is located in taxonomy terms table. I have tried many ways but I just can't get the right query. You can see …
Category: Web

Why does the blog page not take the page template selected?

I have a page template called post-list.php. This template lists all the posts that I have created with the title, date, author and an excerpt. Now, to list the posts I have created a page called Blog and selected this newly create template(post-list). Now I head over to the reading setting and select the Posts page as Blog. But it seems to have picked the index.php as the template and not the newly created one. What am I missing? Any …
Category: Web

Adding secondary featured image for page_for_posts

@Howdy_McGee helped me sort out adding a banner image to page_for_posts, however I need to resize images showing up in the blogroll for page_for_posts so it doesn't use the featured image banner because it's too wide. Codex states I use <?php add_image_size( $name, $width, $height, $crop ); ?> to resize an image specifically for this. However I'm not a php expert hoping someone could help point me in the right direction on how/where to add this. Here's my current code …
Category: Web

Blogroll - Different layout for first post

I would like to have my main blogroll show 10 posts per page, but the first post of each page to be setup on a different div above the rest and have a featured image. This is what I sued for the first post of the page: // WP_Query arguments $args = array ( 'pagination' => true, 'paged' => $paged, 'posts_per_page' => '10', 'ignore_sticky_posts' => true, 'order' => 'DESC', 'orderby' => 'date', ); // The Query $query = new WP_Query( …
Category: Web

Blogroll/Lins Menu not visible in my backend?

well, i'm confused. I can't seem to find out why my "Links" Menu doesn't show up in my wordpress admin. I have this in my functions.php file … add_action( 'admin_menu', 'remove_links_menu' ); function remove_links_menu() { remove_menu_page('themes.php'); // Appearance remove_menu_page('tools.php'); // Tools //remove_menu_page('link-manager.php'); // Links //remove_menu_page('edit-comments.php'); // Comments } However it clearly says, that link-manager.php is not removed. If comment-out the entire action the themes and tools Menus are showing back up. However the link-manager is never visible. Any ideas?
Category: Web

Add blogs to "Blogs i Follow" sidebar

We've been reading through the documentation and watched a video, and gone through all the options in the Dashboard, but whenever we try adding links to the Blog Roll or 'Blogs I follow' section, they never appear on my blog. How do you add favorite links/links to blogs to the side of the blog?
Category: Web

Replace default Blogroll Links with Social Media Links

I'm creating a script that will remove the default "Blogroll" links in Links manager and replace them with an arbitrary listing of links, each with a custom css style name. It my case, I'll be replacing them with my list of social media links and icons. In order to make this truly dynamic, I'll be seeding the links from a customizable text file which the plugin owner can edit and place inside the plugin before its installed and activated. For …
Category: Web

Blogroll entry generates hundreds of 'Links to Your Site' in Google Webmaster Tools for the linked site

I recently noticed that Google Webmaster Tools counts the blogroll link on every page of a Wordpress blog as a separate entry in 'Links to Your Site'. If the Wordpress site has 100 posts that all show the blogroll (which is typical), that will generate 100 separate entries in 'Links To Your Site' in Google Webmaster Tools for each site linked from the blogroll. Given recent news that Google is starting to penalize sites with 'unnatural' incoming links, I'd like …
Category: Web

Wordpress theme ajax have_posts()

My goal here is to load the blogroll into my theme via ajax. But all that I can get as response is 0 (if I omit the die() line, else I get a blank response). Here is my code: js ajax: $.ajax({ url:"http://domain.com/wp-admin/admin-ajax.php", type:'POST', data:'action=load_men_blog', //dataType:'html', //cache: false, success: function(html){ $("#b_contentwrapper").empty(); $("#b_contentwrapper").append(html); } }); PHP (functions.php) : function implement_ajax() { while (have_posts()): echo "azerty"; endwhile; die(); } add_action('wp_ajax_load_men_blog', 'implement_ajax'); add_action('wp_ajax_nopriv_load_men_blog', 'implement_ajax'); Since I have posts in my database, I expect …
Category: Web

Excluding specific widgets from default sidebar class

I have two sidebars using the register_sidebars function that display each widget as a list item with a class of .box: <?php if(function_exists('register_sidebars')){ register_sidebars(2, array( 'name'=>'sidebar%d', 'id' =>'sidebar', 'before_widget'=>'<li class="box">', 'after_widget'=>'</li><!--box--><!--aside-->', 'before_title'=>'<h2>', 'after_title'=>'</h2>', )); } ?> So the output goes something like: <div class="side"> <ul> <li class="box"> <div class="textwidget">Lorem ipsum</div> </li><!--box--><!--aside--> <li class="box"> <h2>Blogroll</h2> <ul class="xoxo blogroll"> <li><a href="http://example.com">Example</a></li> </ul> </li><!--box--><!--aside--> </ul> </div> What I need is a conditional function so that any Links widget (or one with a class …
Category: Web

Blogroll import/export with categories and descriptions

Is there an easy way (a plugin maybe?) to export and then import into a different WordPress installation all links in the blogroll including descriptions and categories? I know you can export links by going to /wp-links-opml.php, but I believe doing it this way you loose the link descriptions. When importing, I'd like links to be put in their categories - if the categore does not exist it should be created. I would prefer a way to do this without …
Category: Web

Script to replace default blogroll with links to my social media URLs

I've got a plugin that I ship with my theme whose function is to jumpstart the process of launching site so that its optimized for the theme. It has all my default pages, plugins, settings, etc... For example, I'm using the following script to remove the default blogroll links... $arr_args = array( 'hide_invisible' => 0 ); $arr_links = get_bookmarks( $arr_args ); foreach($arr_links as $obj_link){wp_delete_link($obj_link->link_id);} However, now I want to create replacement links to go in this listing. I want my …
Category: Web

Customized widget area - how to override or filter class xoxo?

I need some help with restyling my alternate widget areas. I've created some new widget areas, and placed one into the main content of my index.php. This works just fine, however i want to style it differently. WordPress: 3.0.4 Theme: Twenty Ten Child (twentyten-child) Server: Local/MAMP I've tried creating new style definitions for this particular widget area, mainly wanting to get rid of the list bullets. I've also tried list-style: none with every one of the widget css definitions in …
Category: Web

modifying a template and adding jQuery to it

There is a page template called "All Bookmarks" for displaying all links grouped by category. I want to modify it 2 ways: each category of links should be collapsible/expandable by clicking on the category header the template should accept a list of categories to either include or exclude For the collapsible part, assumably I need only add a class to each category header so that my jQuery code can affect them. For the category limiting, assumably I need a way …
Category: Web

Make blogroll links no-follow?

How can I add a nofollow option to my blogroll links editor? Attempted to just type "nofollow" into the "rel" input box, but its auto deleted onblur. If I turn javascript off (thanks to Matt's suggestion below), It works, but when I check the source on my site, the rel attribute looks like this... rel="nofollow"onclick="javascript:pageTracker._trackPageview('/outbound/blogroll/www.site.com');
Category: Web

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.