apsltd
Forum Replies Created
-
Forum: Plugins
In reply to: [Magento Wordpress Integration] Compatiable with 4.4.1?Looks like 4.4.2. I’ll reinstall and try.
Forum: Themes and Templates
In reply to: Display Posts from Specific Category(ies) on PageDone and posting for anyone else that needs it. I had separated my arguments instead of using &.
Works great now.
<?php if ( get_query_var('paged') ) { $paged = get_query_var('paged'); } elseif ( get_query_var('page') ) { $paged = get_query_var('page'); } else { $paged = 1; } query_posts('category_name=accessories&paged='.$paged.'&posts_per_page='); ?>Forum: Themes and Templates
In reply to: Display Posts from Specific Category(ies) on PageUpdate.
I made a change to the code as follows. It seems to display the contents of the blog category and it’s children, but it is not paginating properly, as in when you click page 2 the same posts are there.
I’m not a php master, and I’ll keep digging, but any help is appreciated.
Thanks!
Here is the change:
<?php } ?> <?php if ( get_query_var('paged') ) { $paged = get_query_var('paged'); } elseif ( get_query_var('page') ) { $paged = get_query_var('page'); } else { $paged = 1; } query_posts('category_name=aps-sailing-blog', 'paged='.$paged.'&posts_per_page='); ?> <div class="entry-content-wrapper bloglist-small"> <?php get_template_part( 'loop', 'blog' ); ?> </div> </div> <?phpHi duckonwater.
I haven’t heard anything but I’m using a new theme I’m developing so not sure I need this anymore.
If I do and have anything, I’ll post it here.
Thanks.
Forum: Plugins
In reply to: [Custom Permalinks] Can I import Custom Permalinks in Bulk?Anyone out thers with any info on this?
Thanks.
Hi,
The solution here is you have to change the reference to the content.php to something like content-full.php.
Then you add some thing like the following css to style.css:
.entry-header-full,
.entry-content-full,
.entry-summary-full,
.entry-meta-full {
margin: 0 auto;
max-width: 980px;
width: 90%;
}The you reference php like the following:
<header class="entry-header"> <?php if ( has_post_thumbnail() && ! post_password_required() && ! is_attachment() ) : ?> <div class="entry-thumbnail"> <?php the_post_thumbnail(); ?> </div> <?php endif; ?> <?php if ( is_single() ) : ?> <h2 class="entry-title"><?php the_title(); ?></h2> <?php else : ?> <h2 class="entry-title"> <a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a> </h2> <?php endif; // is_single() ?> </header><!-- .entry-header -->With code referencing the full width entry elements:
<header class="entry-header-full"> <?php if ( has_post_thumbnail() && ! post_password_required() && ! is_attachment() ) : ?> <div class="entry-thumbnail"> <?php the_post_thumbnail(); ?> </div> <?php endif; ?> <?php if ( is_single() ) : ?> <h2 class="entry-title"><?php the_title(); ?></h2> <?php else : ?> <h2 class="entry-title"> <a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a> </h2> <?php endif; // is_single() ?> </header><!-- .entry-header -->I hope this helps someone.
Thanks Bojan,
I will give this a try later today and update the forum.
Thanks again.
Kory
Actually, it makes all my WordPress /blog pages go blank.
Thanks again.
Forum: Fixing WordPress
In reply to: Remove /Blog/Category from WordPress permalink url in 4.2.4Thanks Aram for the reply.
I am not very familiar with that file, at all actually. Do you have any specific recommendations on this setting?
I found this plugin I can use to remove the category:
But, I’m still stuck with removing the /blog out of http://www.apsltd.com/blog/
I feel like I should clarify now also. This WordPress is installed in a subdomain to be the blog/content platford for our Magento website. I use James Kemp’s WMI to integrate them.
I hope that information helps to clarify our situation.,
Thanks,
Kory
Forum: Fixing WordPress
In reply to: Remove /Blog/Category from WordPress permalink url in 4.2.4Can anyone help out here?
Thanks.
Thanks.
I see that too. The strange thing was that when I looked on Firebug, it showed 100% and I don’t see any mention of the 604 px constraint.
I must’ve missed it.
Thanks for the info.
Forum: Themes and Templates
In reply to: Hide Sidebar on a CategoryI was doing in in page.php. Didn’t realize it should’ve been category.php but even then I’m dealing with .css issues.
Forum: Plugins
In reply to: Migration from Blogger redirects aren't workingI used a plugin as opposed to this method which worked perfectly.
Oh. I did not realize. Can you point me in the right direction by any chance?
I think once I wrap my head around it I’ll get it quickly, but I haven’t really even figured out how to get the blocks onto the pages. I tried to put the header call of:
// Echo full Magento head file
the_block(‘head’);Into the header.php, it didn’t do anything, but I don’t even know I’m on the right track.
Thanks.
Kory