tkse
Forum Replies Created
-
WAIT! It does show now. I thought TweetBot and TweetDeck had support for Twitter Cards, but I guess they don’t. It shows up on Twitter.com and Twitter mobile, so I guess I’m all good. I don’t know why it didn’t show up earlier on the latter though, but it’s good now! ??
BTW: Can I get an example as to what the bbPress options and look is? The Pro version is a big cost for a site like mine, so I need to be sure of what I get. Couldn’t see any screenshots of bbPress posts earlier.
Twitter validator gives me this. When I try with an article anyway. Posting a link to the article in a tweet doesn’t show a Twitter Card though. Isn’t it supposed to?
Yes, I have read the Setup Guide.
Facebook works. I went to the debugger and asked for new info and it collected everything as expected.
Twitter cards doesn’t work though. URL https://fifasamfunnet.com
Sorry about that.Forum: Themes and Templates
In reply to: #Primary float left in TwentyThirteen?On further inspection there seems to be something wrong with my header. Any div following the .headWrapper seem to get stuck in the middle of the page.
Any ideas?
Forum: Themes and Templates
In reply to: Displaying 5 posts from loop on pageSolved through calling shortcode in PHP.
Forum: Themes and Templates
In reply to: Displaying 5 posts from loop on pageGot it working somewhat now, however that broke my shortcode.
This is what I have in the editor now:
[slider id='14' name='noob'] <?php dynamic_sidebar( 'secondary' ) ?> <div class="clear"></div> <?php $my_query = new WP_Query('&posts_per_page=5'); while ($my_query->have_posts()) : $my_query->the_post(); ?> <?php get_template_part( 'content', get_post_format() ); ?> <?php endwhile; ?>
I am using Exec-PHP plugin to use PHP in editor. Any idea why the slider plugin doesn’t work anymore? Link to site
Forum: Themes and Templates
In reply to: Background color on link but not img linksp > a:hover did the trick.
I’ll keep that in mind next time. ??
Forum: Fixing WordPress
In reply to: Adding jQuery without breaking stuffExcellent. Thanks! ??
Forum: Fixing WordPress
In reply to: Adding jQuery without breaking stuffDon’t I? I guess I’ve looked it up at some point, read about the enqueue_script and always assumed you had to.
Can I just delete the above code from functions.php and my script should still work?
Forum: Fixing WordPress
In reply to: Adding jQuery without breaking stuffSo how should I go about adding custom jQuery?
Forum: Fixing WordPress
In reply to: Adding jQuery without breaking stuffExample code?
I changed the code to:
if (!is_admin()) add_action("wp_enqueue_scripts", "my_jquery_enqueue", 11); function my_jquery_enqueue() { wp_deregister_script('jquery'); wp_register_script('jquery', "http" . ($_SERVER['SERVER_PORT'] == 443 ? "s" : "") . "://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js", false, null); wp_enqueue_script('jquery'); }
Ignoring my own .js file in functions.php and called the script within sidebar.php instead. Works for now at least.
Forum: Fixing WordPress
In reply to: Adding jQuery without breaking stuffYou can have a look: https://rksgolf.no
Currently, my own script is running the slider in the sidebar, while at the bottom of the page I have another slider run by a plugin, which doesn’t show up as long as I link jQuery in the functions.php file. Same thing with the adminbars dropdown menu.
Forum: Plugins
In reply to: How to go about a featured post?I’ve looked into it more closely and the built-in will work just fine. However there is one little tweak I’d like to implement, but don’t know how: The first page shows different amount of posts dependent on whether the featured post is article 1 or not. Can I have it show featured + 3 on first page no matter what?
Forum: Plugins
In reply to: How to go about a featured post?Say I decide to show 4 posts on every page and the featured is number 6. It will then show either 3 or 5 posts, breaking a grid type design.
Having it showing up twice, or just get moved in the queue isn’t that big of a deal, as long as the amounts of posts underneath it is the same. So if I have a featured post and 3 posts on page 1, I need it to be able to show 4 regular styled posts on page 2, 3, 4 etc.
Forum: Localhost Installs
In reply to: Cache problem?Yes, I have. Doesn’t look like it’s going to be such a massive issue though, as they seem to respond fine to changes. Those few additions I will do to functions.php won’t make it impossible to work with, although it’s still quite annoying.