Bootjesgek HK
Forum Replies Created
-
Forum: Plugins
In reply to: [Dropdown Menu Widget] IE problemsTo illustrate I made some screen pictures. You can find them here:
https://www.bootjesgek.nl/?attachment_id=26040 (correct)
https://www.bootjesgek.nl/?attachment_id=26039 (incorrect)
Hope u can help!Forum: Fixing WordPress
In reply to: choose image to be displayedThe practical solution is to upload the chosen image again. This works fine but of course only if the code says to show the last image uploaded (he highest attachment ID).
Forum: Fixing WordPress
In reply to: choose image to be displayedOn second thought: is it not easy and realy a lot of fuzz to find the attachment ID’s. Is there a way to avoid this, or to find the ID’s easily? In my Wampserver config it is easy: just clicking on the image gives a picture page and the ID in the address bar. But on the Bootjesgek.com server this seems to work differently.
Forum: Fixing WordPress
In reply to: choose image to be displayedThanks.
The code still does not work as I intended but I found out that the ‘last image’ does not mean the last image shown in the article, but the image with the highest attachment ID, so the last image that was uploaded. Also the ‘first image’ is not the one shown in the head of the post, but the one first uploaded (so the one with the smallest attachment ID). Makes sense, of course if you know.
Respect!
I will put this topic on resolved.Forum: Fixing WordPress
In reply to: choose image to be displayedYour last contibution brings me to an other idea: It would be very practical if the default was to display the last picture of the post. That is much nicer then the first picture because the opening of the post comes more as a surprise in that case! My impression is that you are able to change the code in that way. Is that true? It would be a big help to have a code like that, even without having to make a custom field.
Forum: Fixing WordPress
In reply to: choose image to be displayedIt does the trick, but not completely as intended. I can influence the image to be displayed, but there still is a big gamble: f.e. post image value 1 produced image nr 3, 3>7, 4>2, 5>4, 6>6, 7>5, 8>no image which is correct because there were only 7 images in this article: https://www.bootjesgek.com/?p=811 (tested on my wampserver still)
Forum: Fixing WordPress
In reply to: choose image to be displayedSorry, I jumped to conclusions to fast. The bug came from the newly installed plugin of wordTube; not from the code you gave me. It is correct that the caroussel uses the same function as the post thumbnail.
Link to the Business Magazine that I used to adapt: https://www.promojunkie.com/forum/free-templates/23528-business-magazine-wordpress-theme.htmlForum: Fixing WordPress
In reply to: choose image to be displayedI tried the code you gave on my Wampserver. There is a problem: The carousel does not work anymore. I just get the intended images of the carousel displayed in a row under eachother.
Forum: Fixing WordPress
In reply to: choose image to be displayedThanks. I’ll try that.
Still, I think it would be easier if something could be arranged in the gallery of the post; or if maybe always the first of last image published in the article was chosen.
Can you give me some clue on what basis the choice is made now?
And… maybe we could do this in dutch?Forum: Fixing WordPress
In reply to: Google searchers land on homepage not on post single pagehttps://www.bootjesgek.com (same as https://www.bootjesgek.nl)
I installed ‘All-in-one SEO pack’. Default Canonical URLs (whatever that means) was already turned on. I also installed the ‘XML Sitemap generator’
Now the links generated by Google Saerch lead directly to the Single Posts, as I wanted. I gave Google some time for indexing of course (e.g. one day?). Problem solved.Forum: Fixing WordPress
In reply to: Directing search engines to post pages, not homepage.https://www.bootjesgek.com
I installed ‘All-in-one SEO pack’. Default Canonical URLs (whatever that means) was already turned on. I also installed the ‘XML Sitemap generator’
Now the links generated by Google Saerch lead directly to the Single Posts, as I wanted. I gave Google some time for indexing of course (e.g. one day?)Forum: Themes and Templates
In reply to: Help with basic image layoutNot much help here; but I found my way:
The type of layout we were looking for, is usualy described as a ‘Magazine’ type of theme. Some free Magazine type of themes I found are:
Blogstarter; Blue Module Mag; Module Mag; Simple Scheme mag; VioletLeanMagazine; all by WPthemedisigner.com.
Business Magazine (has a nice Carousel too); JS Paper; Mimbo; My Studio by Kathie & Andrew; Schemertype Mag by Chiq Montes; Silvery by Ronal KSY; WP_010 by WP-Spider.Forum: Fixing WordPress
In reply to: Google searchers land on homepage not on post single pageAny more suggestions?
The suggested ‘Overboard engine’ article has a lot of text, but still is not showed directly by the Google search link.Forum: Themes and Templates
In reply to: I want posts to look like thisMeanwhile I found the answer to my question in some themes, like Blogstarter (1 sidebar) and Schemertype Mag (2 sidebars). Themes like this are hard to find as there is no special name or tag for this quality. The name most used is Magazine Style. I will go on working with one of these themes now. Thanks.
https://www.bootjesgek.nl / https://www.bootjesgek.comForum: Themes and Templates
In reply to: I want posts to look like thisSorry, I am not familiar with writing code in PHP. I can give you the code of k2loop.php. I would be very thankfull if you could rewrite it for me?
<?php
/**
* Default Loop Template
*
* This file is loaded by multiple files and used for generating the loop
*
* @package K2
* @subpackage Templates
*/// Post index for semantic classes
$post_index = 1;while ( have_posts() ): the_post(); ?>
<div id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>
<div class=”entry-head”>
<h3 class=”entry-title”>
” rel=”bookmark” title=”<?php k2_permalink_title(); ?>”><?php the_title(); ?>
</h3><?php /* Edit Link */ edit_post_link( __(‘Edit’,’k2_domain’), ‘<span class=”entry-edit”>’, ‘</span>’ ); ?>
<?php if ( ‘post’ == $post->post_type ): ?>
<div class=”entry-meta”>
<?php k2_entry_meta(1); ?>
</div> <!– .entry-meta –>
<?php endif; ?><?php /* K2 Hook */ do_action(‘template_entry_head’); ?>
</div><!– .entry-head –><div class=”entry-content”>
<?php the_content( sprintf( __(‘Continue reading \’%s\”, ‘k2_domain’), the_title(”, ”, false) ) ); ?>
</div><!– .entry-content –><div class=”entry-foot”>
<?php wp_link_pages( array(‘before’ => ‘<div class=”entry-pages”><span>’ . __(‘Pages:’,’k2_domain’) . ‘</span>’, ‘after’ => ‘</div>’ ) ); ?><?php if ( ‘post’ == $post->post_type ): ?>
<div class=”entry-meta”>
<?php k2_entry_meta(2); ?>
</div><!– .entry-meta –>
<?php endif; ?><?php /* K2 Hook */ do_action(‘template_entry_foot’); ?>
</div><!– .entry-foot –>
</div><!– #post-ID –><?php endwhile; /* End The Loop */ ?>