Forum Replies Created
-
AuthorPosts
-
PhilMurrayParticipant
That works KellyLise
Would you have any idea why the POST TITLES are not showing though?
http://77.73.7.141/~lindenfo/linden-media/
thanks
Phil
PhilMurrayParticipantThanks Kellylise - that's great
Phil
PhilMurrayParticipantThanks very much Kellylise
i will check through the links
Phil
PhilMurrayParticipantThanks Sridkar
i tried that plugin but it did not work correctly in genesis 2.0.2
February 19, 2014 at 1:29 pm in reply to: How to STYLE individual CATEGORIES and SUB CATEGORIES #91249PhilMurrayParticipantThanks Susan
no didn't get properly resolved as such
cheers
Phil
PhilMurrayParticipanti seem to have resolved this by assigning the .site-header and indeed the .site-footer to have a max width in the SITE CONTAINERS section of the stylesheet.
so now the site header and footer are fixed width instead of full span
.site-header,
.site-inner,
.site-footer,
.wrap {
margin: 0 auto;
max-width: 1140px;
}PhilMurrayParticipantThanks Davinder and Summer
I will post back here with the results
Phil
PhilMurrayParticipantThanks Summer
no - not to my knowledge - the only thing I did was add this code to functions.php
/** ALLOW EDITOR TO MANAGE MENUS */
// get the the role object
$role_object = get_role( ‘editor’ );// add $cap capability to this role object
$role_object->add_cap( ‘edit_theme_options’ );which allowed an EDITOR to see the APPEARANCE menu option -- I tried it as a test to see if it would work and it did.
But when I removed that code and uploaded functions.php to the server the EDITOR can still see the APPEARANCE menu - which is not what i want of course
i seem to have tried everything and disabled plugins etc - without any change -- but I will go through the ACCESS CONTROL plugin settings again just in case something got changed there.
thanks
Phil
PhilMurrayParticipanthi Davinder,
thanks for you help with this - can't seem to locate the problem at this stage - i have disabled plugins, re-installed wordpress manually, checked the functions.php file etc --- so aside from trying the options you mentioned in the first reply i think I will have to go back to a previous version of the child theme which seemed to be working fine and them add in the additional elements from there.
cheers
Phil
PhilMurrayParticipantThanks Davinder
it is strange though because I use this base theme for nearly all my client sites and never had this issue before
I activated the base GENESIS child theme - but didn't seem to make any difference.
Would it be worth my while uploading the wp-admin and wp-includes folders to the server again ?
cheers
Phil
PhilMurrayParticipantthanks Davinder
ok - i disabled all plugins - created a new USER with EDITOR status but i still see the APPEARANCE menu option when logged in as the new user?
see screen shot below - the GENESIS menu is also visible
cheers
Phil
PhilMurrayParticipanthi Davinder
yes - for all my other client sites that screenshot is exactly what shows up if they log in as EDITOR - as expected
it's only occurred on this specific client site and only since i added , then removed that code form the functions.php file
which is a bit confusing - but maybe it is a plugin conflict somewhere
regards
Phil
PhilMurrayParticipantGreat - thanks Davinder i will try that - this is my functions.php code below
<?php
// URL Re-direct
update_option('siteurl','http://www.knockgolfclub.co.uk');
update_option('home','http://www.knockgolfclub.co.uk');//* Start the engine
include_once( get_template_directory() . '/lib/init.php' );//* Child theme (do not remove)
define( 'CHILD_THEME_NAME', 'FDM-Theme3.0' );
define( 'CHILD_THEME_URL', 'http://www.fingerprintdigitalmedia.com/' );
define( 'CHILD_THEME_VERSION', '3.0' );//* Enqueue Lato Google font
add_action( 'wp_enqueue_scripts', 'genesis_sample_google_fonts' );
function genesis_sample_google_fonts() {
wp_enqueue_style( 'google-font-lato', '//fonts.googleapis.com/css?family=Lato:300,700', array(), CHILD_THEME_VERSION );
}//* Remove Genesis Favicon
remove_action('wp_head', 'genesis_load_favicon');//* Add HTML5 markup structure
add_theme_support( 'html5' );//* Add viewport meta tag for mobile browsers
add_theme_support( 'genesis-responsive-viewport' );//* Add support for custom background
add_theme_support( 'custom-background' );//* Add support for 3-column footer widgets
add_theme_support( 'genesis-footer-widgets', 3 );//* Remove page title for a specific page (requires HTML5 theme support)
add_action( 'get_header', 'child_remove_page_titles' );
function child_remove_page_titles() {
if ( is_page( )) {
remove_action( 'genesis_entry_header', 'genesis_do_post_title' );
}
}/** Register Widget Area */
genesis_register_sidebar( array(
'id' => 'widget_before_content',
'name' => __( 'Homepage Below Menu' ),
'description' => __( 'This is below the bottom menu of the homepage.' ),
) );/** Add Slider Widget Area */
add_action( 'genesis_after_header', 'widget_before_content' );
function widget_before_content() {
echo '<div class="widget_before_content">';
dynamic_sidebar( 'widget_before_content' );
echo '</div>';
}/** Register Widget Area */
genesis_register_sidebar( array(
'id' => 'widget_after_post_content',
'name' => __( 'Below Page Content' ),
'description' => __( 'This is below the bottom content of the page.' ),
) );/** Add Slider Widget Area */
add_action( 'genesis_after_post_content', 'widget_after_post_content' );
function widget_after_post_content() {
echo '<div class="widget_after_post_content">';
dynamic_sidebar( 'widget_after_post_content' );
echo '</div>';
}/** Remove Lost Password Link from Admin Screen */
function remove_lost_your_password($text)
{
return str_replace( array('Lost your password?', 'Lost your password'), '', trim($text, '?') );
}
add_filter( 'gettext', 'remove_lost_your_password' );// Note: Add only code below to your functions.php
add_action( 'wp_enqueue_scripts', 'amethyst_load_mobile_nav_script' );
function amethyst_load_mobile_nav_script() {//Add mobile button script to primary navigation menu
wp_enqueue_script( 'nav_for_mobile', get_bloginfo( 'stylesheet_directory' ) . '/scripts/drop-down-nav.js', array('jquery'), '0.5' );
}PhilMurrayParticipantThanks Davinder - i will try this
I am just a bit confused how the EDITOR can see the APPEARANCE menu in the first place? especially since i removed the code below from my functions.php?
/** ALLOW EDITOR TO MANAGE MENUS */
// get the the role object
$role_object = get_role( ‘editor’ );// add $cap capability to this role object
$role_object->add_cap( ‘edit_theme_options’ );any idea why this would occur Davinder?
thanks
Phil
PhilMurrayParticipantok - it seems if i delete an image completely - then insert it again from my PC - the images will allow for captioning!!!
why would this be? - it is very frustrating having to go back in and uploaded all the images again just so they can be captioned
Phil
PhilMurrayParticipanthi Vajrasar
ok - i have found out something about this --- if the image is placed inside a column class [in this case one i created called .one-seventh] the captions do not work.
the same thing happens on other client sites i have where images are inside a column class DIV
has anyone else had this problem and if so how is it resolved please? because in some cases i need to use column classes with captioned images inside them.
thanks
Phil
PhilMurrayParticipanthi Vajrasar
yes - the problem is if i add a caption to an image on that page -- and click UPDATE PAGE - the caption is getting stripped out of the image again -- weird?
if I go to a different page in the site that has an image that is right aligned - the CAPTIONS work just fine.
but for the page that is causing the problem - as soon as i try to add a caption and click UPDATE PAGE it strips the caption out and also removes any alignment that i set for the image?
any idea how to fix this? is it a CSS issue?
thanks
Phil
PhilMurrayParticipantBrilliant ramseyp - that works perfectly
thanks!
Phil
PhilMurrayParticipantyep - same here - my favicon shows up in ADMIN but not on the live site.
any fix for this?
thanks
Phil
PhilMurrayParticipantFound the solution;
The rule should be
.page-id-145.header-image .site-header .wrap {
background: url(images/spm-logo1.png) no-repeat left;
padding: 0;
}without a space between the 2 body classes.
thanks to Marcy and Jennifer for solving this
Phil
-
AuthorPosts