brian317
Forum Replies Created
-
Been rummaging around with all the similar plugins and circling back to this one I found the “easy-to-miss-if-you’re-scanning” comments from Hardison and Smartmonk work perfect.
1. Go to Your Facebook App – https://facebook.com/developers
2. Click on your App
3. Click edit App
4. Find “Settings” Menu on the left and click “Advanced”
5. In the Migrations settings Set “Remove offline_access permission” to Disabled.
6. Save changes.
7. Click “Grant Permissions” on the plugin settings page.Yes same issue exactly. Reverting via link above.
Forum: Fixing WordPress
In reply to: The_Post_Thumbnail in Get_Children Queryalchymyth – you are my hero.
problem solved.
Forum: Fixing WordPress
In reply to: Trouble adding posts_per_page limit to a queryohhhh thank you so much Jacob, I had almost tried that, mine had two sets of single-quotes separated by a comma and it wasn’t working that way.
i hate to be a given-an-inch-takin-a-mile guy but any chance this other puzzle of mine makes sense to you? https://www.ads-software.com/support/topic/the_post_thumbnail-in-get_children-query?replies=1
thanks either way!
Forum: Fixing WordPress
In reply to: Exclude specific category ID's from Author templatethe link is generated in deep in wordpress somewhere, the template is not looking for an author, the link is already set to display an author.
I noticed get_author_link() in the functions.php, if you want a hard-link somewhere that will probably work in a loop on any page.
Forum: Fixing WordPress
In reply to: Exclude specific category ID's from Author templateHi deepbevel, I’m using the standard “author.php” file that comes with wordpress’ default theme twentyeleven, the only change i’ve made is a copy paste of my first code snippet at the top of this thread, per dkotter’s precise instruction. If you’re still having trouble i’ll use a pastebin thing and put it up in there.
If you’re trying to create a custom page i’m not sure how it would work, the page is called when someone clicks on the author’s name, as it displays above each post, in the theme.
Forum: Fixing WordPress
In reply to: Exclude specific category ID's from Author templatewow I didn’t think it was going to be that easy! you were right – thank you dkotter.
trool – i’ve got some similar pages – basically you’ll create a custom template (which means right at the top you’ll create a new name here:
<?php /** Template Name: Home Page * * @package WordPress * @subpackage Alfa Theme */
Then you need to add your custom loop, mine looks like this,
query_posts( array ( 'category_name' => 'reviews, it-services, news', 'posts_per_page' => 10 ) ); global $more; // Declare global $more (before the loop). // The Loop while ( have_posts() ) : the_post(); echo '<div class="post">'; echo'<h3 class="entry-title"><a href="'; the_permalink(); echo'" rel="bookmark" >'; the_title(); echo'</a></h3>';
basically you just then paste the code you want to use below, you could pull the standard stuff from functions.php where the loop is defined or write a more basic one.
after you display all your elements, you need these lines specifically
endwhile; // Reset Query wp_reset_query(); ?>
Forum: Fixing WordPress
In reply to: Displaying the post thumbnail for children pagesLooks like this : https://alfacomputer.com/about-us/
Forum: Fixing WordPress
In reply to: Simple Query Confusion!Works like a charm – thanks keesiemeijer!
Forum: Fixing WordPress
In reply to: Simple Query Confusion!Hi Jerry, thanks for the reply – that isn’t working for me, this is what I had before, which displays all my posts that are of the post format quote. (that’s what I really meant – not ‘type’)
$future_query = new WP_Query('category_name=Sidebar&posts_per_page=10'); $quoteArrayLast = array( array('','') ); $aR = 0; while ( $future_query->have_posts() ) : $future_query->the_post(); $aS = 0; if(has_post_format( 'quote' )) { $quoteArrayLast[$aR][0] = "".get_the_content().""; $quoteArrayLast[$aS][1] = "".get_the_title().""; $aR++; } //print_r($post); endwhile; foreach($quoteArrayLast as $tempQuote) { print "<div class='testimonial'>"; print "<p>".$tempQuote[0]."</p>"; print "<p class='testimonial_author'>".$tempQuote[1]."</p>"; print "</div>"; }
This is pulling the quotes, although the 2nd one is not showing the title as the author for some reason, but the first one displays correctly…
And for some reason I can’t bring the number down with the “posts per page”, just want to display 1, and for it to be random!
Its going to appear on this page: https://alfacomputer.com/home-2/
This is what I thought would work perfect, but it displays the most recent post, not even a quote.
$quotesQuery = new WP_Query( array ( 'has_post_format' => 'quote', //'orderby' => 'rand', 'posts_per_page' => '1' ) ); while ( $quotesQuery->have_posts() ) : $quotesQuery->the_post(); print "<div class='testimonial'>"; print "<p>"; the_content(); print "</p>"; print "<p class='testimonial_author'>"; the_title(); print "</p>"; print "</div>"; endwhile; ?>
Forum: Plugins
In reply to: [Plugin: NextGEN Gallery] ID 675: A failure occurred [more] 1I’m dying here from something very simliar.
Tried 4 browsers, tried changing the memory limit code in the plugin.
There are no errors or messages except “0 picture(s) successfully added” after the upload, and I do get the large file but it does not generate a thumbnail. The gallery manager will not show the images because there is no thumbnail, and the pages do not display them either, but the FTP backend shows the large file does upload. (small large files btw – 127kb)
I’ve already re-upgraded wordpress and re-upgraded the plugin. This is a no-fun problem chewing at me!
Any suggestions much appreciated
I am having this exact issue with a client’s site. Site is upgraded to wordpress 3 and now unable to upload with the NextGEN gallery manager. I’m not sure what php5.ini is I don’t see anything of a similiar name in the wordpress folders..
Any advice much appreciated!