xan3ver
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Facebook Open Graph protocol] Facebook Select ImagesThanks Chuck! Looking forward to the upgrade!! It is not the end of the world if it doesn’t share exactly right! Thanks for a great plugin! So far works great!
Forum: Themes and Templates
In reply to: [Twenty Twelve] Customize Category/Content TemplateYes!! Thank you so much!! Added the second set of code to my css and it looks great! Thank you!
Forum: Themes and Templates
In reply to: [Twenty Twelve] Customize Category/Content TemplateFor Question 2 I found a great tutorial for adding a custom link after your excerpt.
Simply add the following code to your functions.php file:
<?php function new_excerpt_more($more) { global $post; return '… <a href="'. get_permalink($post->ID) . '">' . 'ENTER YOUR CUSTOM LINK TEXT HERE' . '</a>'; } add_filter('excerpt_more', 'new_excerpt_more'); ?>
Anyone an idea about reducing the padding below the feature image/post content?
Forum: Themes and Templates
In reply to: [Twenty Twelve] Customize Category/Content TemplateOk, I’ve got a part of question 1 fixed. I removed the following code from my content.php and added it to my content-cat.php file at the location where I wanted the image to appear:
<?php if ( ! post_password_required() && ! is_attachment() ) : the_post_thumbnail(); endif; ?>
There is now quite a bit of padding below the image (or above the excerpt) that I want to reduce. What do I need to add to my css to correct this?
And I still have my question 2 to solve!
Forum: Themes and Templates
In reply to: [Twenty Twelve] Category TemplatesI am goingto mark this topic as resolved as it turns out my child themes was set up wrong. For anyone that is interested, here is the link to the forum topic:
https://www.ads-software.com/support/topic/child-theme-problems-11?replies=36
It seems these issues I were having is now fixed as well! Importance of the correct set up of a child theme!
Forum: Themes and Templates
In reply to: [Twenty Twelve] Child Theme problemsOk, I have the template line in there now! (but just for clarity, I was never using my parent theme… I was working in child all the time, it was just somehow set up wrong!) Thank you! I will rebuild my sidebar etc! Thank you all SO SO SO much!! Oh my goodness, I would have never been able to fix this!
Forum: Themes and Templates
In reply to: [Twenty Twelve] Child Theme problemsI fixed a few issues which seems to be fine now! Yay! Thank you! but a side bar etc. Im sure I can fix up again! But I have a message on my dashboard where my themes are –
Broken Themes
The following themes are installed but incomplete. Themes must have a stylesheet and a template.
Name Description
twentytwelvechild Template is missing. DeleteForum: Themes and Templates
In reply to: [Twenty Twelve] Child Theme problemsOk, yay! I have some styling again, now there is just a lot of stuff missing from what was there before – almost everything in my side bar, my header image, my footer is in my main nav bar… Will I have to redo all of this?
Forum: Themes and Templates
In reply to: [Twenty Twelve] Child Theme problemsI do have a header in my child. but it does not call wp_head(). Parent theme does though, should I add this to my child header?
Forum: Themes and Templates
In reply to: [Twenty Twelve] Child Theme problemsYes, my functions.php looks exactly like the one you last posted above!
Forum: Themes and Templates
In reply to: [Twenty Twelve] Child Theme problemsYup, functions file looks like above.
Ive cleared the cache and deactivated the plugin.
The two lines above now does not appear on the website. Still no styling though.
Forum: Themes and Templates
In reply to: [Twenty Twelve] Child Theme problemsIt took away the two lines in the dashboard, but it still appears on website. And still no styling!
Forum: Themes and Templates
In reply to: [Twenty Twelve] Child Theme problemsI do not know? Sorry, I am very new at coding… This is what is in my functions file:
add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' ); function theme_enqueue_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ); } function theme_enqueue_styles() { $parent_style = 'parent-style'; wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' ); wp_enqueue_style( 'child-style', get_stylesheet_directory_uri() . '/style.css', array( $parent_style ) ); } add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' ); <?php add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' ); function theme_enqueue_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ); wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/rtl.css' ); wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/editor-style.css' ); wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/editor-style-rtl.css' ); } ?>
Forum: Themes and Templates
In reply to: [Twenty Twelve] Child Theme problemsugh, and now my whole site has fallen apart!
Forum: Themes and Templates
In reply to: [Twenty Twelve] Child Theme problemsIcleared the cache, but nothing changed. I did notice, when in my dashboard, this code from my functions.php appears on two lines at the top:
add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' ); function theme_enqueue_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ); } function theme_enqueue_styles() { $parent_style = 'parent-style'; wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' ); wp_enqueue_style( 'child-style', get_stylesheet_directory_uri() . '/style.css', array( $parent_style ) ); } add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );