Forum Replies Created

Viewing 15 replies - 1 through 15 (of 16 total)
  • Thread Starter user256

    (@user256)

    Thank you so much for that couldn’t see it for looking at it!

    out of curiosity why is the !important; required?

    Thread Starter user256

    (@user256)

    the buy now and learn more links below the excerpt are populated ising advanced custom fields

    Thread Starter user256

    (@user256)

    Thank you so much i spent ages trying to fix that!!

    Don’t suppose you have any idea how to stop the custom fields overlaying the next title!

    Thread Starter user256

    (@user256)

    nobody out there able to offer any advice on this?

    Thread Starter user256

    (@user256)

    Thanks for the clarification – I did spot that and thought it was most likely resolved but was a little alarmed it was still being flagged despite the version number!

    Better safe than sorry ?? Thanks a lot I’m glad to hear i don’t need to go off in search of another because it’s an epic plugin!

    Forum: Plugins
    In reply to: WordPress options page help
    Thread Starter user256

    (@user256)

    urgh finally figured it out…. The issue seemed to be the order i was calling. Found a more detailed guide at thinkcode

    Working example

    <?php
    /*
     * Plugin Name: opengraph
     * Description: Enabling your site with Open Graph metabox on posts
     * Version: 0.1
     * Author: user256
     */
    
    add_action('admin_menu', 'ssd_settings'); // register admin menu
    add_action('admin_init', 'register_form_settings');  // register form
    
    /** register menu page **/
    function ssd_settings() {
    	add_menu_page('Structured Social Settings', 'Structured Social', 'administrator', 'ssd_settings_page', 'ssd_display_settings');
    } 
    
    /** register form fields **/
    function ssd_form_options(){
    	register_setting('ssd_options_group', 'ssd_global_settings', 'ssd_validate');
        }
    
    function register_form_settings() { // whitelist options
    	register_setting( 'ssd_form_options', 'twitterid' );
    	register_setting( 'ssd_form_options', 'fb_link' );
    }
    
    function ssd_display_settings()
    {
    ?>
    <div class="wrap">
    	<div class="icon32" id="icon-options-general"><br></div>
    		<h2>Socially Structured Data</h2>
    <form method="post" action="options.php">
    <?php	settings_fields( 'ssd_form_options' );  ?>
    <?php	do_settings_fields( 'ssd_form_options' ); ?>
    
    <p><strong>Twitter ID:</strong><br />
                    <input type="text" name="twitterid" size="45" value="<?php echo get_option('twitterid'); ?>" />
                </p>
    <p><strong>Facebook Page Links:</strong><br />
        <input type="text" name="fb_link" size="45" value="<?php echo get_option('fb_link'); ?>" />
    </p>
    
    <?php submit_button(); ?>
    </form>
    </div>
    <?php
    }
    ?>

    Forum: Plugins
    In reply to: [SlickQuiz] No Scores

    Exactly what I was looking for! Not to worry I managed without on this occasion- for this to be useful for me in future there are a few features I’d really need such as

    * Multiple possible correct answers – with any single one triggering a correct response
    * The ability to customize generated profiles further (e.g add picture/ add custom html area)

    Have to say despite the absence of these features (which would put it well in to the premium camp for myself) it’s genuinely fantastic!

    Many thanks for this excellent plugin, look forward to seeing future versions!

    Thread Starter user256

    (@user256)

    Sorry just getting really frustrated as this is largely the work of a paid dev who ripped me off and left me with a barely working plugin. Bit frustrated. No offence intended I’ve always gotten really great help here before for my own projects.

    Anyway i’m abandoning the project it’s eaten enough of my time and money. please just delete the request. cheers

    Thread Starter user256

    (@user256)

    What are those of us without that kind of budget supposed to do? I have hired multiple developers on both odesk and elance months and over 200 hundred pounds later I’m stuck here with a plugin i can’t get to work………

    Forum: Plugins
    In reply to: [SlickQuiz] No Scores

    Scratch that, works fine if there’s only one correct answer! Any chance we can potentially have more than one answer?

    Forum: Plugins
    In reply to: [SlickQuiz] No Scores

    Did you ever get this resolved? I’m having exactly the same issue

    Thread Starter user256

    (@user256)

    Thank you so much!! I’ve no idea how i missed that!

    Thread Starter user256

    (@user256)

    Template is available at https://pastebin.com/3bVf9UTb

    Thread Starter user256

    (@user256)

    Hey again, Sorry to be such a pain but i’ve been at this for ages and i’m getting nowhere.

    As i understand it you’re telling me i need to set a count like this to place a div around every three posts

    I can’t seem to make this work so i’m inserting the template i’m using in the hope you can advise what i should be doing.

    <?php
    /**
    * The template for displaying Archive pages.
    *
    * Used to display archive-type pages if nothing more specific matches a query.
    * For example, puts together date-based pages if no date.php file exists.
    *
    * If you’d like to further customize these archive views, you may create a
    * new template file for each specific one. For example, Twenty Twelve already
    * has tag.php for Tag archives, category.php for Category archives, and
    * author.php for Author archives.
    *
    * Learn more: https://codex.www.ads-software.com/Template_Hierarchy
    *
    * @package WordPress
    * @subpackage Twenty_Twelve
    * @since Twenty Twelve 1.0
    */

    get_header(); ?>
    <section id=”primary” class=”site-content”>
    <div id=”content” role=”main”>

    <?php
    /* Display All Posts */

    /* Display All Posts */
    if ( have_posts() ) : ?>
    <header class=”archive-header”>
    <h1 class=”archive-title”></h1>
    </header><!– .archive-header –>

    <?php
    global $query_string;
    query_posts( $query_string . ‘&posts_per_page=-1’ );
    $count = 0;
    if(have_posts()) : while(have_posts()) : the_post();
    if ($count < count($posts)) {
    $open = !($count%2) ? ‘<div class=”work-row”>’ : ”;
    $close = !($count%2) && $count ? ‘</div>’ : ”;
    } else {
    $open = ‘<div class=”work-row”>’;
    $close = ”;
    }

    echo $close.$open;
    ?>
    <div id=”posts”><article>

    <h3 class=”entry-title”>“><?php the_title(); ?></h3>
    <?php the_post_thumbnail(‘excerpt-thumbnail’); ?>

    <div><?php the_excerpt(); ?></div>
    <?php the_field( “affiliate”); ?><?php the_field( “more”); ?>

    </article></div>

    <?php
    $count++;
    endwhile; endif; ?>
    <?php echo $count ? ‘</div>’ : ”;
    twentytwelve_content_nav( ‘nav-below’ );
    ?>

    <?php else : ?>
    <?php get_template_part( ‘contented’, ‘none’ ); ?>
    <?php endif; ?>

    </div><!– #content –>
    </section><!– #primary –>

    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    Thanks in Advance

    Thread Starter user256

    (@user256)

    Amazing thank you, alas this now brings me back to a problem i had on a previous theme but couldn’t get help with (hence my rebuilding in 2012)

    For some reason the page is leaving blank spaces where i would normally expect the next post to appear. Any idea why?

Viewing 15 replies - 1 through 15 (of 16 total)