Forum Replies Created

Viewing 14 replies - 1 through 14 (of 14 total)
  • I know this is an older post but I seem to have ran into a similar issue today. I think I accidentally marked myself and all users as SPAM.

    In order to fix this issue, I logged into my phpmyadmin, went into wp_users and changed my user_status from 1 to 0.

    This gave me access again.

    Okay, well the rest of this issue will require some simple CSS. As I’ve started to help Ashlilee with this issue I will finish out this help off the forums. I was not aware that contributing members could not help with general theme issues, commercial or not. This problem is resolved.

    Okay bare with me, we’re going to have to do some CSS to get everything to align right. Let me do a little bit of editing and I should have a resolution for this ??

    Ok great, can you confirm that you now have a new widget area to drop widgets into in your WordPress admin back end?

    If so we need to call that widget area into your theme file.

    From what you showed me we’ll need to edit your header.php file.

    Around line 68 you should enter the following code

    <?php dynamic_sidebar( 'inline-nav' ); ?>

    This will be before the </div><!– .navbar –> section of your theme and after the wp_nav_menu( portion. Do not replace any of the existing code, we’ll only be adding ??

    Hey Andrew,

    Not a problem, not new to WordPress but a little new to supporting the community ??

    I’ll keep with in the guide lines

    Not a problem.

    I’ll modify your functions.php file and input comments that you may delete. This should give you a better idea of what needs to be done so you can modify this yourself in the future.

    If you need to send me a copy of your function.php file please do so at [Email redacted]

    Please keep communication through this post so we can possibly help others .

    Okay, it looks like you may have pasted it in the incorrect location or possibly in the process of pasting, deleted something that was required.

    The error is coming from your functions.php file on line 135.

    At this point you’ll probably need to edit your functions.php file manually through FTP or restore a backup of your functions.php file, that is if you have one.

    Hi Ashlilee,

    Sorry about the delay here. Let’s begin by creating a new widget location.

    In your function.php you probably already have a register_sidebar section started that you can add on to. The proper way to add a new widget area is by placing the following code in your function.php file.

    if ( function_exists('register_sidebar') ) {
        register_sidebar(array(
            'name'=> 'Nav Widgets',
    	'id' => 'nav_widgets',
            'before_widget' => '<li id="%1$s" class="widget %2$s">',
            'after_widget' => '</li>',
            'before_title' => '<h5 class="widgettitle">',
            'after_title' => '</h5>',
        ));
    }

    If the function_exists(‘register_sidebar’) already exists in your function.php file you can simply add on to that by just placing the following code inside your IF clause.

    register_sidebar(array(
            'name'=> 'Nav Widgets',
    	'id' => 'nav_widgets',
            'before_widget' => '<li id="%1$s" class="widget %2$s">',
            'after_widget' => '</li>',
            'before_title' => '<h5 class="widgettitle">',
            'after_title' => '</h5>',
        ));

    After you’ve added this code to function.php you should be able to see a new area in your Widgets backend where you drag your subscription widget into.

    Lets start there and i’ll help you with the rest once this is successful.

    Okay, i’ll explain the direction I think you can obtain this easily then. I don’t know how much experience you have with modifying WordPress themes so you’ll have to let me know how much of this you understand.

    Knowledge of the following would help to do this yourself.

    HTML
    CSS
    PHP
    WordPress API

    So here’s what I would do.

    Assuming your “Follow by Email” section is a widget, I would create a new widget location. Insert this widget location with an HTML div to the right of your navigation bar, you’ll need to use CSS display: inline-block to achieve this.

    In your widget section you’ll then be able to drag the widget over to your new widget location.

    Use CSS to style your “Follow by Email” widget by hiding the Email Address text and float or inline the “Yay!” button.

    This should give you the results you’re looking for.

    Please let me know how much of this makes sense to you, I can explain this in more detail if need be.

    Are you referring to the “Follow by Email” section on your side bar?

    How much of that would you like to be in the navigation?

    Putting it in your navigation as is will severely change the way your navigation bar looks by height.

    Did you want a hover over drop down box or did you want the email form to be inline with your navigation?

    We’ll need more details to help you out with this issue.

    I might recommend the plugin Shortcodes Ultimate. As a theme developer I found this to be the easiest solution when it comes to creating columns and other basic HTML code with styling. It supports an easy edit in place UI with live previews before submitting.

    If you’re just looking for basic table code then try this for two columns. This is only going to be basic code with no table header.

    <table id="home-table">
        <tr>
            <td>Column 1</td>
            <td>Column 2</td>
        </tr>
    </table>

    I would then recommend using CSS to set width and height of the table.
    #home-table table { width: 100%; height: 100%; }

    You will run into issues with the width and height if you have a parent structure.
    Most developers wouldn’t recommend you use TABLES for anything in themes structure, DIV’s are usually ideal for anything structural. I myself will only use tables for organizing specific content.

    Hope this helps out!

    Hi SpookD,

    It’s no problem. That code I posted is made to go into a template file.

    I did not have to make any changes to the coding of the plugin.

    My previous code was in my template file called home.php.

    If you’re not familiar with making custom templates that may be confusing for you.

    I would try the following shortcode, I did not have a chance to test it as I moved on to another solution after playing with this plugin. Although I was able to get it to work, it still didn’t meet all my needs. Good luck and let us know if this works out for you!

    [srp srp_number_post_option='5' srp_thumbnail_wdg_width='635' srp_thumbnail_wdg_height='239']

    I just installed this plugin about 5 minutes ago and had the same issue.

    I found that the phpimage.php was throwing an error due to not having a width and height set in the options.

    I am using the PHP hook in my template.

    <?php
    // Defining widget options.
    $args = array(
    	'srp_number_post_option'  => 5,
    	'srp_thumbnail_wdg_width' => 635,
    	'srp_thumbnail_wdg_height' => 239
    );
    
    // Function call.
    special_recent_posts($args);
    ?>

    Hope this helps!

Viewing 14 replies - 1 through 14 (of 14 total)