huppellepup
Forum Replies Created
-
Forum: Plugins
In reply to: In a plugin: How do I set table cell widths ?Try to add this to your css
table {table-layout: auto;}
Forum: Plugins
In reply to: [KNVB Api plugin] Nieuw template .html aanroepenWaarschijnlijk zul je het wel inmiddels wel opgelost hebben, maar voor die gene met dezelfde vraag.
[knvb uri="/teams/"team_id"/schedule" template="custom-schedule"]
Forum: Themes and Templates
In reply to: Only Category on Post page in Twenty Sixteen child themeResolved, I’m now linking directly to the category archives. So no need to change the code.
Forum: Fixing WordPress
In reply to: Custom field not working when placed after “Recent Posts”Yes!
Forum: Fixing WordPress
In reply to: Custom field not working when placed after “Recent Posts”Hi Keesiemeijer,
Thanks for the link!
Adding the<?php wp_reset_postdata(); ?>
to the code solved this problem.Forum: Fixing WordPress
In reply to: Custom field not working when placed after “Recent Posts”Hi Keesiemeijer,
Thanks for your reaction.
I’m not sure, but this is the code I’ve used:<section> <?php $the_query = new WP_Query( 'showposts=3' ); ?> <?php while ($the_query -> have_posts()) : $the_query -> the_post(); ?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <div> <header> <h4 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h4> </header> <span> <?php the_excerpt(); ?> </span> </div> </article><!-- #post --> <?php endwhile;?> </section>
The problem occurs in the following templates: Twenty Twelve, Twenty Thirteen, Twenty Fourteen.
Forum: Plugins
In reply to: [Custom Post Type UI] Custom and Additional Post Types issueMaybe this helps,
I used the “Get Code” and copied that code in to “functions.php”.
Removing that code from “functions.php”, and newsletter sign was gone.add_action('init', 'cptui_register_my_cpt_newsletter'); function cptui_register_my_cpt_newsletter() { register_post_type('newsletter', array( 'label' => 'Newsletter', 'description' => '', 'public' => true, 'show_ui' => true, 'show_in_menu' => true, 'capability_type' => 'post', 'map_meta_cap' => true, 'hierarchical' => false, 'rewrite' => array('slug' => 'newsletter', 'with_front' => true), 'query_var' => true, 'exclude_from_search' => true, 'menu_position' => '6', 'supports' => array('title','editor','excerpt','trackbacks','custom-fields','comments','revisions','thumbnail','author','page-attributes','post-formats'), 'labels' => array ( 'name' => 'Newsletter', 'singular_name' => 'Newsletter', 'menu_name' => 'Newsletter', 'add_new' => 'Add Newsletter', 'add_new_item' => 'Add New Newsletter', 'edit' => 'Edit', 'edit_item' => 'Edit Newsletter', 'new_item' => 'New Newsletter', 'view' => 'View Newsletter', 'view_item' => 'View Newsletter', 'search_items' => 'Search Newsletter', 'not_found' => 'No Newsletter Found', 'not_found_in_trash' => 'No Newsletter Found in Trash', 'parent' => 'Parent Newsletter', ) ) ); }
Forum: Plugins
In reply to: [Custom Post Type UI] Custom and Additional Post Types issueHi Michael, I actually have the same problem and do not understand how to remove it. I’ve made the screenshot you had asked Shwebdev.
Hope you find it useful
screenshot: https://xihe.nl/Additional-Custom-Post-Types.png
Forum: Plugins
In reply to: [WP Simple Booking Calendar] Sidebar widget not workingI’m so sorry …
I have not looked well enough before I started complaining. While I was looking for the widget options I saw that there was a second Calendar.Thanks for your time.
Forum: Fixing WordPress
In reply to: Permalink Issue after Upgrade to WP 3.8Hi,
Try setting the permalink “Custom Structure” to
/%postname%/
instead of/
Forum: Fixing WordPress
In reply to: Blog links are not linked to post but redirect to homepage.Hi all,
I’ve solved the problem by setting the Custom Structure to/%postname%/
instead of/
Thank all.
Forum: Fixing WordPress
In reply to: Blog links are not linked to post but redirect to homepage.Hi Pioneer,
No I did not renamed any of the post. Still I have trashed all posts and created new ones. Only the “(more…)” in the post gives a extra#more-201
on the link. The rest links simply back home. So the problem remains.The permalinks are set to “pretty” permalinks. As required for the Polylang plugin.
Forum: Fixing WordPress
In reply to: Blog links are not linked to post but redirect to homepage.Oeps, the link should be https://wordpress.telserv.nl/eng/news/
Forum: Fixing WordPress
In reply to: Add language code to include file.Thanks keesiemeijer,
I did some playing and came up which this solution:
<?php include(ABSPATH."uploads/myfile_" . get_bloginfo ('language') . ".php"); ?>
Forum: Plugins
In reply to: [Polylang] Issues with Polylang 1.2.xI had the warning problem […]/frontend-nav-menu.php on line 144 to
The 1.2.3.2 version solved the problem for me.
Thank you.