Redefine
Forum Replies Created
-
I found the problem with this.
[checkbox add-email-list default:1 “I would like to receive emails regarding new products & information from time to time.”]
The & symbol was breaking the plugin and not being parsed properly. Changed to “and” and resolved issue.
Forum: Plugins
In reply to: [Page Excerpt] [Plugin: Page Excerpt] PHP Warning on version 1.1Incase you were wondering, check your functions.php for
add_action('init', 'my_custom_init');
I found it in my functions.php of my theme that was being declared but no function associated with it.
Yes it’s been 6 months, but for other people too ??
Forum: Themes and Templates
In reply to: Dropdown categories as page creates doublesOk,
So I figured it out. You just needed to utilise the menu option. ??
https://www.boombamblog.dk/wp-admin/nav-menus.php
1. I set up menus (made Main Menu) and set it as the primary menu.
2. Added the pages on the left.
3. Added the category on the left.
4. Deleted the page you had called “Live”.Now when you need to add pages to the navigation you can do it through menus. Its on the left admin menu under appearance drop down.
You’re good to go!
Forum: Themes and Templates
In reply to: How to add a div only if image exists in postIf I were you I would opt for using jQuery to provide the fix.
Have you tried adding a height to the CSS to see if the padding works?
If the height fixes the issue you could create a simple jquery function that gets the height of the image and sets the CSS height to the image height.
Forum: Themes and Templates
In reply to: how to remove white line at top of the siteYou have two close head tags </head>.
[Code moderated as per the Forum Rules. Please use the pastebin]
Forum: Themes and Templates
In reply to: Dropdown categories as page creates doublesIf you want to shoot me an email with some login details I can help fix it up.
jamie [at] redefine [dot] com [dot] au
Forum: Plugins
In reply to: Contact Form 7 StylingYou will definitely need knowledge of CSS in order to do this.
What you need to do is to insert the HTML into the Contact Form 7 settings page inside the Form textarea box. You should see some default code in there.
Here is an example from a site I have done.
[Code moderated as per the Forum Rules. Please use the pastebin]
Then you just need to style with CSS to make schexy!
Does that help?
Forum: Themes and Templates
In reply to: Remove "No Categories"?Need to know how you have made your menu.
Can you post the menu section of your header.php.
Forum: Themes and Templates
In reply to: Dropdown categories as page creates doublesWell how are you displaying the menu currently.
Is it all hard coded in? Or are you using menus functionality in WordPress.
Forum: Themes and Templates
In reply to: how to remove white line at top of the siteIt seems that you are placing a lot of head code inside the body tags.
You need to make sure all the link, meta are being placed between the open <head> and </head> tags.
I think you may have called wp_head() outside of the head tags.
Move wp_head(); right before the </head> tag.
I have a play around and I was able to fix the white space. It was because of the extra tags inside the body.
Fix that up and you should be good to go.
Forum: Themes and Templates
In reply to: Styling individual widgets with background imagesIt’s a bit hard to help you without seeing a link to your working site. We will need to look at your css and know your functions.php.
If you want to have individual “widgets” in the sidebar, you just need to be creative when registering your sidebars.
register_sidebar(array( 'name' => 'Sidebar', 'description' => 'Standard sidebar for all pages.', 'before_widget' => '<div class="top-img"><div id="%1$s" class="widget %2$s">', 'after_widget' => '</div><div class="bottom-img"></div>', 'before_title' => '<h2>', 'after_title' => '</h2>' ));
This will output the following:
<div class="top-img"></div> <div id="uniqueID" class="widget widget_name"> <ul> <li>content</li> </ul> </div> <div class="bottom-img"></div>
All you need to do now is style .top-img, .bottom-img & .widget with what you want.
Hope that helps.
Forum: Themes and Templates
In reply to: Dropdown categories as page creates doublesCan you post the code so we can help you a bit more.
Forum: Fixing WordPress
In reply to: Help: Need to link taxomonies in Custom posts admin panelHey iyamdman,
I assume you are talking about the checkboxes similar to the posts page with different categories?
You need to link custom posts and register taxonomies (in functions.php)
add_action( 'init', 'build_taxonomies', 0 ); function build_taxonomies() { register_taxonomy( 'taxonomy-name', array('cars'), array( 'hierarchical' => true, 'label' => 'Series Name', 'query_var' => true, 'rewrite' => true ) ); register_taxonomy( 'taxonomy-year', array('cars'), array( 'hierarchical' => true, 'label' => 'Series Year', 'query_var' => true, 'rewrite' => true ) ); register_taxonomy( 'taxonomy-color', array('cars'), array( 'hierarchical' => true, 'label' => 'Body Color', 'query_var' => true, 'rewrite' => true ) ); register_taxonomy( 'taxonomy-format', array('wheels'), array( 'hierarchical' => true, 'label' => 'Format', 'query_var' => true, 'rewrite' => true ) ); }
If you want to reuse taxonomies across multiple custom posts, you can add the support by specifying the names of each post_type.
For example: array(‘cars’, ‘wheels’, ‘page’, ‘post’)
register_taxonomy( 'taxonomy-format', array('wheels', 'cars'), array( 'hierarchical' => true, 'label' => 'Format', 'query_var' => true, 'rewrite' => true ) );
The code above will display the taxonomy in both wheels and cars.
Hope that helps, if I am a bit confusing I can explain in better detail. Just need to know exactly what you want to achieve.
Forum: Plugins
In reply to: [WP-PageNavi] [Plugin: WP-PageNavi] Wp page navi on custom post type pageThe trick is to ensure your page template does not have the same slug as the custom post type slug.
I took me some time to figure it out.