Forum Replies Created

Viewing 15 posts - 106 through 120 (of 155 total)
  • Posted in:
  • in reply to: Fatal Error Since Updating #18773
    Tekguild
    Member
    Post count: 171

    Do you have a backup of your database from before the problem occurred? If so, I would try creating a new database, import the backup to it and then change your wp-config.php file to reference the new database. It could be database corruption causing the problem.

    Alternately you may be able to look at your error logs via your hosts web control panel to see if anything there tips you off as to what’s going wrong.

    in reply to: Email Subscribe in header and footer #18722
    Tekguild
    Member
    Post count: 171

    You will need to use the embed code generated from your Mailchimp account – if you want the same look as the Flexform demo, use the ‘Super Slim’ embed code. It should look something like this (I replaced certain parts to keep sensitive date obscured):

    <!– Begin MailChimp Signup Form –>
    <link href=”//cdn-images.mailchimp.com/embedcode/slim-xxxxxx.css” rel=”stylesheet” type=”text/css”>
    <style type=”text/css”>
    #mc_embed_signup{background:#fff; clear:left; font:14px Helvetica,Arial,sans-serif; }
    /* Add your own MailChimp form style overrides in your site stylesheet or in this style block.
    We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */
    </style>
    <div id=”mc_embed_signup”>
    <form action=”http://yourwebsite.us4.list-manage.com/subscribe/post?u=xxxxxxxxxxx&id=xxxxxxx&#8221; method=”post” id=”mc-embedded-subscribe-form” name=”mc-embedded-subscribe-form” class=”validate” target=”_blank” novalidate>
    <label for=”mce-EMAIL”>Subscribe to our mailing list</label>
    <input type=”email” value=”” name=”EMAIL” class=”email” id=”mce-EMAIL” placeholder=”email address” required>
    <div class=”clear”><input type=”submit” value=”Subscribe” name=”subscribe” id=”mc-embedded-subscribe” class=”button”></div>
    </form>
    </div>

    <!–End mc_embed_signup–>

    Copy and paste that code into the Theme Options>Header Options>Subscribe form code area.

    To style the subscribe form:

    1. Replace the font used – replace the ‘Helvetica,Arial,sans-serif’ code with your preferred font. For example: “Abril Fatface”, sans-serif
    2. The change the font size of the ‘Subscribe to our email list’ add this to your custom styles (I use the My Custom CSS plugin) and change the number for the font size:

    #header-subscribe label {
    font-size: 12px;
    }

    3. To change the width of the drop down form, add the width property to the section of code in this section of the embed code (in bold):

    #mc_embed_signup{background:#fff; clear:left; font:14px “Abril Fatface”, sans-serif; width: 350px; }

    4. To change the font size of the ’email address’ and ‘Subscribe’ button text, add this to your custom CSS styles and change the number for the font size:

    #header-subscribe input {
    font-size: 24px;
    }

    5. To change the button color/style, change the class property from ‘button’ in the embed code to something unique you can use to style the button, like this (in bold):

    <input type=”submit” value=”Subscribe” name=”subscribe” id=”mc-embedded-subscribe” class=”my-email-form-button”>

    Then in your custom CSS styles (again, I use My Custom CSS plugin), add the class property and style as you wish. I’m copying the 2 style types from the Flexform theme demo:

    #header-subscribe .my-email-form-button {
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    float: right;
    padding: 6px 12px;
    margin-top: 5px;
    }

    and this one for the border radius change on hover:

    #header-subscribe .my-email-form-button:hover {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    }

    That should get you in the ballpark.

    in reply to: Category custom header image #18696
    Tekguild
    Member
    Post count: 171

    This would take a bit of coding to do – there are a couple ways to go about it:

    1. Creating a variable in the category.php file that will insert a header image based on the category ID (probably the easiest option).
    2. Duplicating the category.php file and renaming it to something appropriate (category-notes.php, for example), editing the code to insert the image where you want it, then calling that php file based on the category ID within the loop.
    3. I won’t get into this one, as it’s more difficult than 1 or 2 – I’m just letting you know there’s a 3rd option.

    I’m pretty sure that Swift team wouldn’t be able to give you specifics on how to do this – if you’re not comfortable with coding of this nature, your best bet would be to hire someone to do it for you…

    in reply to: I broke the site by re-uploading the default functions.php #18693
    Tekguild
    Member
    Post count: 171

    Do you not have a backup of the site? If you *do* have a backup, just grab the functions.php file from the backup and upload it.

    If you don’t have a backup I don’t have much to add, other than start backing up your site regularly…

    in reply to: CSS to remove white arrow on full-width items #18692
    Tekguild
    Member
    Post count: 171

    I believe if you add ‘no-arrow’ to the extra class name for the element, it will remove the arrow.

    That’s the way I’ve been doing it…

    in reply to: Category custom header image #18691
    Tekguild
    Member
    Post count: 171

    Can you be more specific about which Category you’re referring to – Blog, Portfolio, Team, etc?

    My first thought – create a page with the Swift Page Builder element (Blog, Team, etc) as it’s content and use the custom header image option for the page…

    in reply to: Flexform is causing a Maintenance Mode Error #18690
    Tekguild
    Member
    Post count: 171

    Which host are you using and what, exactly, did they say the coding error was?

    in reply to: Fatal Error Since Updating #18477
    Tekguild
    Member
    Post count: 171

    Difficult to say but, if I were you, I’d delete and reupload the theme files and see if that fixes it.

    in reply to: Team member excerpt function issue #18468
    Tekguild
    Member
    Post count: 171

    I figured this out. In case anyone else needs to do this, it’s relatively easy:

    Change line 60 of flexform/includes/page-builder/composer/lib/shortcodes/team.php to:

    $member_bio = get_post_meta($post->ID, ‘sf_team_custom_excerpt’, true);

    Line 86 was changed to:

    $items .= ‘<div class=”team-member-bio”>’. $member_bio .’ Read More >></div>’;

    To get the Custom Excerpt box to show up in the Team editor, add the code (in bold) starting with // Custom Excerpt Section to flexform/includes/meta-boxes.php directly after the Dribble code, making sure to add the comma after the closing ) in the Dribble section – the section should look like this after editing:

    // TEAM MEMBER DRIBBBLE
    array(
    ‘name’ => ‘Dribbble’,
    ‘id’ => $prefix . ‘team_member_dribbble’,
    ‘desc’ => “Enter the team member’s Dribbble username.”,
    ‘clone’ => false,
    ‘type’ => ‘text’,
    ‘std’ => ”,
    ),
    // CUSTOM EXCERPT SECTION
    array (
    ‘name’ => ”,
    ‘title’ => ‘Team Member Custom Excerpt’,
    ‘id’ => “{$prefix}team_custom_excerpt”,
    ‘type’ => ‘section’
    ),

    // CUSTOM EXCERPT
    array(
    ‘name’ => ‘Custom excerpt’,
    ‘desc’ => “You can optionally write a custom excerpt here to display instead of the excerpt that is automatically generated.”,
    ‘id’ => $prefix . ‘team_custom_excerpt’,
    ‘type’ => ‘textarea’,
    ‘std’ => “”,
    ‘cols’ => ’40’,
    ‘rows’ => ‘8’,
    )

    )
    );
    /* ==================================================

    Clients Meta Box

    in reply to: Social follow me for authors #18461
    Tekguild
    Member
    Post count: 171

    There’s an easier way – just edit the single.php file and add the code in bold, replacing ‘your-class-name’ with whatever you want to name the class for the div so you can style it. I used it to add a little margin to the top of the social icons:

    <div class="post-info">
    <div class="author-name"><span><?php _e("Posted by", "swiftframework"); ?></span>"><?php the_author_meta('display_name'); ?> on <?php echo $post_date; ?></div>
    <div class="your-class-name"><?php echo do_shortcode('[social size="small" style="colour" type="twitter,flickr,facebook,pinterest"]'); ?></div>
    </div>

    in reply to: Team member excerpt function issue #17757
    Tekguild
    Member
    Post count: 171
    This reply has been marked as private.
    in reply to: Team member excerpt function issue #17410
    Tekguild
    Member
    Post count: 171

    Definitely not. I’m very familiar with WP and almost all it’s ‘gotchas’. The meta-boxes.php code doesn’t include the excerpt code I indicated for the Team section, which makes me think that’s why it’s no showing up. Something must have been there at some point because, on the Team page in WP Admin where it shows all the Team members, all of them have a description that matches their excerpt shown on the front end. There’s just no excerpt field in the individual team member admin area and the excerpt shown on the front end doesn’t change when I change the Team member text.

    in reply to: Changing the colors of the "Filter" dropdown #17127
    Tekguild
    Member
    Post count: 171

    Glad to hear it!

    in reply to: Changing the colors of the "Filter" dropdown #17104
    Tekguild
    Member
    Post count: 171

    Ok, download and install the My Custom CSS plugin and activate it, then copy paste this exact code in it and you’ll see the text color of the dropdown Filter menu change to black:

    .filter-wrap ul li a {
    color: #000000;
    }

    You can change the text color to anything you want using hex color codes. Here’s a link to a quick color picker:

    http://www.colorpicker.com/

    To change the background color of the items in the menu drop down, add this code and change the color hex value:

    .filter-wrap ul li {
    background-color: #222222;
    }

    This code changes the background color when you hover over the menu item:

    .filter-wrap ul li:hover {
    background-color: #C90111;
    }

    This code changes the background color when you click on the menu item:

    .filter-wrap ul li.selected {
    background-color: #C90111;
    }

    If you copy/paste those exact code blocks into My Custom CSS you should see the menu change according to the color values you enter. If you don’t, try clearing your browser cache, make sure your host isn’t caching files and/or text on a completely different machine.

    in reply to: Team member excerpt function issue #16998
    Tekguild
    Member
    Post count: 171

    Is it possible to just add an excerpt meta box by copying the code used in meta-boxes.php from, say, the Post meta box section to the Team meta box section?

    // CUSTOM EXCERPT SECTION
    array (
    'name' => '',
    'title' => 'Custom Excerpt',
    'id' => "{$prefix}heading_custom_excerpt",
    'type' => 'section'
    ),

    // CUSTOM EXCERPT
    array(
    'name' => 'Custom excerpt',
    'desc' => "You can optionally write a custom excerpt here to display instead of the excerpt that is automatically generated.",
    'id' => "{$prefix}custom_excerpt",
    'type' => 'textarea',
    'std' => "",
    'cols' => '40',
    'rows' => '8',
    ),

Viewing 15 posts - 106 through 120 (of 155 total)