elanio
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: infinitescroll and wp_query is repeating postsResolved.
<?php /* Template Name: Main */ get_header(); $paged = ( get_query_var('page') ) ? get_query_var('page') : 1; // WP_Query arguments $args = array ( 'post_type' => array('post','post_bike'), 'pagination' => true, 'posts_per_page' => '10', 'order_by' => 'date', 'paged' => $paged, ); // The Query $wp_query = new WP_Query( $args ); // The Loop if ( $wp_query->have_posts() ) { while ( $wp_query->have_posts() ) { #var_dump($query); $wp_query->the_post(); // do something include (TEMPLATEPATH . '/php/article-class.php' ); #get_template_part('/php/article-class', get_post_format()); } echo'HERE IS NAV'; include (TEMPLATEPATH . '/inc/nav.php' ); echo'END NAV'; } else { // no posts found echo "<h2>Not Found</h2>"; } // Restore original Post Data wp_reset_postdata(); get_footer(); ?>
Forum: Plugins
In reply to: Infinite scroll with static home pageCan you shed some light on how it was resolved?
Forum: Networking WordPress
In reply to: 1and1 subdomain multisite install [Shared Host]Hi Sonny,
Yes, I did get this working, and without a wildcard. I installed WordPress at the root level of my domain, i.e.:
https://www.example.com/wp-admin
I also selected subdomain as the multi-network method and not subdirectory ie.
blog1.example.com/wp-admin
blog2.example.com/wp-adminvs
https://www.example.com/blog1/wp-admin
https://www.example.com/blog2/wp-adminTo achieve this, you MUST create subdomains manually and set the host directory to the root. WordPress will handle the redirect internally. When making the subdomain, point the folder to the root:
blog1.example.com -> https://www.example.com (this works)
The issue I was “initially” having was that I would create a subdirectory & subdomain and have the subdomain pointed at the subdirectory. ie
blog1.example.com -> https://www.example.com/blog1 (this did not work)
Hope this all makes sense on how to set up a subdomain WordPress multisite on 1and1 shared hosting.
Forum: Networking WordPress
In reply to: 1and1 subdomain multisite install [Shared Host]Is there something specific you need help with? I posted the answer already that worked for me using Subdomains. Read above, or please be detailed and specific so I or others can assist you.
Forum: Networking WordPress
In reply to: 1and1 subdomain multisite install [Shared Host]yes, and yes.
Forum: Networking WordPress
In reply to: Install wordpress at root, but have root redirect to subdomainActually, that is exactly what I already did. I mAde a redirect theme with two files, style.css (only meta data) and index.php with the wp_redirect() as the only line.
Thanks for the feedback and response. Hopefully this post will provide answers for others.
Forum: Networking WordPress
In reply to: 1and1 subdomain multisite install [Shared Host]Resolved.
Subdomain was pointing to directory, it needed to point at the root (or where wordpress was installed)
Curious, I also am experiencing a similar issue as ‘KatieKat’, where I see the feedback tab, yet do not see the “polls” tab.
Further more, this is on a networked site, and when I activate it on another blog, I sometimes do see both “feedback” and “polls” in the right side panel beneath “Posts, Pages, Comments, Etc..”
Running version 2.0.20 I did see a newer version 2.0.21 but did not see anything in the change log about this.
Was this fix put in for version 4.1.1?
Forum: Plugins
In reply to: [Recent Posts Widget Extended] Image sizing not workingI am experiencing the same issue. I have set the featured image in the post. The images being used are massive desktop images. I have tried setting one variable, nothing.
It consistently spits out at 1:1 ratio, where as I would like a 3:4 or event 16:9
Forum: Plugins
In reply to: [Better Recent Posts Widget (with thumbnails)] Thumbnails do not resizeI am experiencing the same issue. I have set the featured image in the post. The images being used are massive desktop images. I have tried setting one variable, nothing.
It consistently spits out at 1:1 ratio, where as I would like a 3:4 or event 16:9
Wow, great responsiveness to the forums, and a truly great plugin. Keep at it, and looking forward to receiving the update!
Thanks for the Reply Vladamir. I ended up choosing to put this into the plugin itself in the user-role-editor.php file. It makes it much easier to maintain in one place vs having to insert the functions into each theme.
Do you plan to incorporate Sjobidoo fix in future releases, I am sure this is a much sought after addition.
Much appreciated for all the excellent work you have done now, and will do!
Sjobidoo, thanks for this, and sorry I am late to the party. May I ask what file you put this function, and where? I am experiencing the same issue.
Forum: Fixing WordPress
In reply to: Multisite root 301 redirect to subdirectoryI have also tried this:
RewriteCond %{HTTP_HOST} ^(blog.)?domain.com$ RewriteRule ^(/)?$ mysite [L]
no luck.
**Note** I am doing this locally using MAMP, I have also verified that .htaccess and rewrites are working.