johnfrancisco
Forum Replies Created
-
Forum: Plugins
In reply to: [Lightbox with PhotoSwipe] Open gallery using a button?Hi WeFoster,
I try to use your code but without success.
And what snippet do I have to insert in my href to launch the gallery?
(my level of javascript is very low…)
Is there a specific place to insert this piece of code?Cheers,
JohnForum: Plugins
In reply to: [Posts 2 Posts] Issue with p2p_widget_html filterNo. No further details found…
Sorry for that. And the plugin is no longer supported.
As far as I know, this plugin is pretty unique in his kind, so its too bad.So I use it the simple (poor) way by the widget (out of the box – without template).
It displays only title & permalink. Better than nothing.If you get some results by any other way, let me know…
Forum: Plugins
In reply to: [Posts 2 Posts] Issue with p2p_widget_html filterI tested the p2p_widget_html filter method in a post to post context and the problem is the same, the template is loaded but displays nothing.
Is this filter method working for someone?
Forum: Themes and Templates
In reply to: What is this wp theme? Stationnery OverdoseHi Bruno
Thanks for answering.
This theme is really great.
By the way I really like the content of your site.Sorry for the mess guys.
Forum: Themes and Templates
In reply to: What is this wp theme? Stationnery OverdoseOk guys, thanks for your good will…
I think I have found the base theme : Neue.
It has been strongly cleaned but a few elements are still here : obviously, the 3 columns structure, some of the header font and above all, the Previous and Next post buttons at the bottom of the post. Bingo. Great job.In my search, I found some other themes wich were very close like SuperSkeleton or Gonzo but they do not perfectly match.
In France, we have a saying : “Aide toi et le ciel t’aidera…”
I just wonder, given the fact that there are tons of themes on ThemeForest or others, how many designers still built their theme from scratch. I mean designers not developers.
Thanks and sorry to have bother you.
I am a graphic designer and when I find a cool font I do not know, I visit WhatTheFont, and if not found, you could consult “experts” in the forum section. It’s a bit what I was hoping by coming here.
Forum: Themes and Templates
In reply to: What is this wp theme? Stationnery OverdoseThanks for your help Andrew.
I’m fully aware that the designer could have built it from scratch, and in this case I would be sorry to bother you, but he could also not.
It’s a kind of message in a bottle but if this theme is familiar to someone here, that could help.Forum: Themes and Templates
In reply to: What is this wp theme? Stationnery OverdoseAs I say, already done. No answer. By the owner, I mean the designer.
I also made a search on WPThemeDetector.
No result.Done.
Thks it works perfectly well.
As you say, I have removed the filter code in functions.php and the WP_query loops work perfectly well, as I want.
No more pagination but for this, it’s not important.
Thanks keesiemeijer.No I don’t care pagination.
But as I say, my problem is not about multiple loop (I can handle that…), it’s more about correctly filtering the wanted cpt in the 3 querys…Forum: Fixing WordPress
In reply to: Using the custom post type label and descriptionHi Kic00
I guess the mistake is confusion between php operator = (assign) and == (compare).
try this :
$foo = $post_type->labels->singular_name ; if ($foo == "Post") { $foo = "Bar"; } else { echo $foo; } echo $foo(If your post is a post, it will return “Bar” as you assign it, else it will echo the singular name of label of your custom post type.)
Forum: Fixing WordPress
In reply to: pagination with custom post type (getting a 404)Hi hoss9009
You do not seem to use the get_query_var(‘paged’) stuff so try this :
<?php if ( get_query_var('paged') ) { $paged = get_query_var('paged'); } else if ( get_query_var('page') ) { $paged = get_query_var('page'); } else { $paged = 1; } $loop = new WP_Query( array( 'post_type' => 'web', 'posts_per_page' => 6, 'paged' => $paged ) ); ?> <?php while ( $loop->have_posts() ) : $loop->the_post(); ?> LOOP STUFF HERE <?php endwhile; ?> <?php wp_reset_postdata(); // reset the query ?> <?php wp_pagenavi(): ?Forum: Fixing WordPress
In reply to: pagination with custom post type (getting a 404)Just to say I found the fix for my problem here.
(my problem was “Pagination for Custom Post Types on Front Page”).
It works great for me.so just add this as paged param of your loop :
if ( get_query_var('paged') ) { $paged = get_query_var('paged'); } else if ( get_query_var('page') ) { $paged = get_query_var('page'); } else { $paged = 1; } query_posts( array( 'post_type' => 'post', 'paged' => $paged ) );Forum: Fixing WordPress
In reply to: Using the custom post type label and descriptionThanks Ali and lehooo.
I use both your methods and it works fine.<?php $post_type = get_post_type_object( get_post_type($post) ); echo $post_type->labels->singular_name ; ?>Thks
Forum: Fixing WordPress
In reply to: Pagination for Custom Post Types on Home PageFound the fix here.
It works great for me.so just add this as paged param of your loop :
if ( get_query_var('paged') ) { $paged = get_query_var('paged'); } else if ( get_query_var('page') ) { $paged = get_query_var('page'); } else { $paged = 1; } query_posts( array( 'post_type' => 'post', 'paged' => $paged ) );Forum: Fixing WordPress
In reply to: Custom Post Type Pagination On Front PageThanks
It works also great for me. This is just perfect. Thks.
It was driving me crazy!
I was posting here with no solutions.(I also do not understand it. If someone could show us the light…)