arask2
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Twenty Fourteen] Feature image sizesGot it.. Thanks for your quick response
Forum: Themes and Templates
In reply to: [Twenty Fourteen] Jetpack causing featured posts display issuesUpdate – It was working for a while.. but then it stopped working again.
I had activated few other plugins within the Jetpack configuration. Not sure, if that caused any problems.
I then deactivated all the optional plugins in jetpack, but that did not appear to solve the problem. Eventually, I just deactivated the jetpack plugin and the gallery of featured posts showed up again.
Not sure, what is causing the problem. But unless it gets fixed for real, I might just skip jetpack for this round 🙁
Forum: Themes and Templates
In reply to: [Twenty Fourteen] Page of Posts QuestionI had originally created pages, so that i could link them to the menu options. Given that, it made sense to try and attach each page to a specific category or more than one, if needed, so that they would be displayed accordingly.
After doing a little more research, I realized the wordpress engine is not designed for that. If I wanted to accomplish the same within the framework of the loop, the best way to approach it would be to map menu links to categories directly. In effect, I am getting the same thing, just without the need for a page.
Is there a way, to extract posts for a given category and display them on the page? I imagine so, but that is convoluted way of doing things, that word press architecture was not designed to do.
Pages are for static content. Categories are pages for posts. Trying to make one look like the other is not recommended and overtly complicated, as I found out.
Bottom line, I found the solution within the framework of word press architecture, by mapping categories to menu items on my website.
Hope that helps.
Cheers,
KForum: Themes and Templates
In reply to: [Twenty Fourteen] Jetpack causing featured posts display issuesHi there,
Thanks for responding to my post.
I downloaded the jetpack 2.8-alpha version and installed it after deleting the 2.7 version and it solved the problem.
Thanks for the assist! 🙂
Cheers,
KForum: Themes and Templates
In reply to: [Twenty Fourteen] Page of Posts QuestionThis topic has been resolved.
Forum: Themes and Templates
In reply to: [Twenty Fourteen] Page of Posts QuestionSo I have create a custom template called Page-Category.php and am including the following code for each step.
1) Look up page slug value
global $post;
$page_slug = get_post( $post )->post_name;2) Determine if there is a category match
foreach(get_the_category() as $category) {
if ($category->slug == $page_slug) {
$match = true;
break;
}
}3) Load the posts for the given category
if ($match) {
$cat_posts = get_posts(“category_name=$page_slug”);
while ( have_posts() ) : the_post();
get_template_part( ‘content’, get_post_format() );
endwhile;
}What am I missing?
Somebody already solved a similar problem, I believe.
http://wordpress.org/support/topic/center-site-content-to-full-width?replies=3
Hope that helps.
Cheers,
KForum: Themes and Templates
In reply to: [Twenty Fourteen] path for pageI imagine you can use permalinks to help with that.
If so, you can access it on the dashboard -> settings -> permalinks page
Hope that helps.
Cheers,
KForum: Themes and Templates
In reply to: [Twenty Fourteen] Cannot change to full widthYou will need to change the width size in the css file.
/**
* 6.0 Content
* —————————————————————————–
*/.content-area {
padding-top: 48px;
}.hentry {
margin: 0 auto 48px;
max-width: 672px;
}.site-content .entry-header,
.site-content .entry-content,
.site-content .entry-summary,
.site-content .entry-meta,
.page-content {
margin: 0 auto;
max-width: 474px;
}Hope that helps.
Cheers,
K