Digital experiences for all disciplines
Forum Replies Created
-
Posted in: We hit Power Elite.
-
Yep 2.6.0, and I also updated the Swift Framework
Thanks for the help! All good now!
Thanks! The arrows are removed now but I can’t seem to change the text size…
This reply has been marked as private.Thanks Kyle, it turns out a corrupt JPEG was causing the issue in the Media Gallery
Fixed it, it was caused by a corrupt jpeg being uploaded to the media gallery for anyone with a similar problem.
Option 2 worked a treat, thanks Rui!
Thanks,
So I should download the current site files using FTP, then install this theme, then go back to FTP and replace the files with the old files?
Sure thing. On this page (about 4 or 5 paragraphs down) there’s a fontawesome bomb icon that I’m trying to link to the bottom of the page: http://conorlumsden.com/dir/putting-together-the-founding-team/#Pitincorpo
Thanks Kyle, that worked!
Could you tell me is it possible to link to a section of a page as in the one page navigation? Each time I use a link like sitename.com/#bottomsection it causes the page to freeze.
I fixed the [/sbp_row] thing! So just about the download link causing the page to freeze please! Thanks!
This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.Like so? The link is working but the medium font awesome icon doesn’t seem to display, the VK one is still there. 🙁 Sorry for all this hassle!
/* SOCIAL SHORTCODE
================================================= */
if ( ! function_exists( ‘sf_social_icons’ ) ) {
function sf_social_icons( $atts, $content = null ) {
extract( shortcode_atts( array(
“type” => ”,
“size” => ‘standard’,
“style” => ”
), $atts ) );global $sf_options;
$twitter = $sf_options[‘twitter_username’];
$facebook = $sf_options[‘facebook_page_url’];
$dribbble = $sf_options[‘dribbble_username’];
$vimeo = $sf_options[‘vimeo_username’];
$tumblr = $sf_options[‘tumblr_username’];
$skype = $sf_options[‘skype_username’];
$linkedin = $sf_options[‘linkedin_page_url’];
$googleplus = $sf_options[‘googleplus_page_url’];
$flickr = $sf_options[‘flickr_page_url’];
$youtube = $sf_options[‘youtube_url’];
$pinterest = $sf_options[‘pinterest_username’];
$foursquare = $sf_options[‘foursquare_url’];
$instagram = $sf_options[‘instagram_username’];
$github = $sf_options[‘github_url’];
$xing = $sf_options[‘xing_url’];
$rss = $sf_options[‘rss_url’];
$behance = $sf_options[‘behance_url’];
$soundcloud = $sf_options[‘soundcloud_url’];
$deviantart = $sf_options[‘deviantart_url’];
$yelp = “”;
$vk = “”;
$twitch = “”;
if ( isset( $sf_options[‘yelp_url’] ) ) {
$yelp = $sf_options[‘yelp_url’];
}
if ( isset( $sf_options[‘vk_url’] ) ) {
$vk = $sf_options[‘vk_url’];
}
if ( isset( $sf_options[‘twitch_url’] ) ) {
$twitch = $sf_options[‘twitch_url’];
}$social_icons = ”;
if ( $type == ” ) {
if ( $twitter ) {
$social_icons .= ‘<li class=”twitter”><i class=”fa-twitter”></i><i class=”fa-twitter”></i>‘ . “\n”;
}
if ( $facebook ) {
$social_icons .= ‘<li class=”facebook”><i class=”fa-facebook”></i><i class=”fa-facebook”></i>‘ . “\n”;
}
if ( $dribbble ) {
$social_icons .= ‘<li class=”dribbble”><i class=”fa-dribbble”></i><i class=”fa-dribbble”></i>‘ . “\n”;
}
if ( $youtube ) {
$social_icons .= ‘<li class=”youtube”><i class=”fa-youtube”></i><i class=”fa-youtube”></i>‘ . “\n”;
}
if ( $vimeo ) {
$social_icons .= ‘<li class=”vimeo”><i class=”fa-vimeo-square”></i><i class=”fa-vimeo-square”></i>‘ . “\n”;
}
if ( $tumblr ) {
$social_icons .= ‘<li class=”tumblr”><i class=”fa-tumblr”></i><i class=”fa-tumblr”></i>‘ . “\n”;
}
if ( $skype ) {
$social_icons .= ‘<li class=”skype”><i class=”fa-skype”></i><i class=”fa-skype”></i>‘ . “\n”;
}
if ( $linkedin ) {
$social_icons .= ‘<li class=”linkedin”><i class=”fa-linkedin”></i><i class=”fa-linkedin”></i>‘ . “\n”;
}
if ( $googleplus ) {
$social_icons .= ‘<li class=”googleplus”><i class=”fa-google-plus”></i><i class=”fa-google-plus”></i>‘ . “\n”;
}
if ( $flickr ) {
$social_icons .= ‘<li class=”flickr”><i class=”fa-flickr”></i><i class=”fa-flickr”></i>‘ . “\n”;
}
if ( $pinterest ) {
$social_icons .= ‘<li class=”pinterest”><i class=”fa-pinterest”></i><i class=”fa-pinterest”></i>‘ . “\n”;
}
if ( $foursquare ) {
$social_icons .= ‘<li class=”foursquare”><i class=”fa-foursquare”></i><i class=”fa-foursquare”></i>‘ . “\n”;
}
if ( $instagram ) {
$social_icons .= ‘<li class=”instagram”><i class=”fa-instagram”></i><i class=”fa-instagram”></i>‘ . “\n”;
}
if ( $github ) {
$social_icons .= ‘<li class=”github”><i class=”fa-github”></i><i class=”fa-github”></i>‘ . “\n”;
}
if ( $xing ) {
$social_icons .= ‘<li class=”xing”><i class=”fa-xing”></i><i class=”fa-xing”></i>‘ . “\n”;
}
if ( $behance ) {
$social_icons .= ‘<li class=”behance”><i class=”fa-behance”></i><i class=”fa-behance”></i>‘ . “\n”;
}
if ( $deviantart ) {
$social_icons .= ‘<li class=”deviantart”><i class=”fa-deviantart”></i><i class=”fa-deviantart”></i>‘ . “\n”;
}
if ( $soundcloud ) {
$social_icons .= ‘<li class=”soundcloud”><i class=”fa-soundcloud”></i><i class=”fa-soundcloud”></i>‘ . “\n”;
}
if ( $yelp ) {
$social_icons .= ‘<li class=”yelp”><i class=”fa-yelp”></i><i class=”fa-yelp”></i>‘ . “\n”;
}
if ( $rss ) {
$social_icons .= ‘<li class=”rss”><i class=”fa-rss”></i><i class=”fa-rss”></i>‘ . “\n”;
}
if ( $vk ) {
$social_icons .= ‘<li class=”vk”><i class=”fa-medium”></i><i class=”fa-medium”></i>‘ . “\n”;
}
if ( $twitch ) {
$social_icons .= ‘<li class=”twitch”><i class=”fa-twitch”></i><i class=”fa-twitch”></i>‘ . “\n”;
}
} else {$social_type = explode( ‘,’, $type );
foreach ( $social_type as $id ) {
if ( $id == “twitter” ) {
$social_icons .= ‘<li class=”twitter”><i class=”fa-twitter”></i><i class=”fa-twitter”></i>‘ . “\n”;
}
if ( $id == “facebook” ) {
$social_icons .= ‘<li class=”facebook”><i class=”fa-facebook”></i><i class=”fa-facebook”></i>‘ . “\n”;
}
if ( $id == “dribbble” ) {
$social_icons .= ‘<li class=”dribbble”><i class=”fa-dribbble”></i><i class=”fa-dribbble”></i>‘ . “\n”;
}
if ( $id == “youtube” ) {
$social_icons .= ‘<li class=”youtube”><i class=”fa-youtube”></i><i class=”fa-youtube”></i>‘ . “\n”;
}
if ( $id == “vimeo” ) {
$social_icons .= ‘<li class=”vimeo”><i class=”fa-vimeo-square”></i><i class=”fa-vimeo-square”></i>‘ . “\n”;
}
if ( $id == “tumblr” ) {
$social_icons .= ‘<li class=”tumblr”><i class=”fa-tumblr”></i><i class=”fa-tumblr”></i>‘ . “\n”;
}
if ( $id == “skype” ) {
$social_icons .= ‘<li class=”skype”><i class=”fa-skype”></i><i class=”fa-skype”></i>‘ . “\n”;
}
if ( $id == “linkedin” ) {
$social_icons .= ‘<li class=”linkedin”><i class=”fa-linkedin”></i><i class=”fa-linkedin”></i>‘ . “\n”;
}
if ( $id == “googleplus” || $id == “google-plus” || $id == “google+” ) {
$social_icons .= ‘<li class=”googleplus”><i class=”fa-google-plus”></i><i class=”fa-google-plus”></i>‘ . “\n”;
}
if ( $id == “flickr” ) {
$social_icons .= ‘<li class=”flickr”><i class=”fa-flickr”></i><i class=”fa-flickr”></i>‘ . “\n”;
}
if ( $id == “pinterest” ) {
$social_icons .= ‘<li class=”pinterest”><i class=”fa-pinterest”></i><i class=”fa-pinterest”></i>‘ . “\n”;
}
if ( $id == “foursquare” ) {
$social_icons .= ‘<li class=”foursquare”><i class=”fa-foursquare”></i><i class=”fa-foursquare”></i>‘ . “\n”;
}
if ( $id == “instagram” ) {
$social_icons .= ‘<li class=”instagram”><i class=”fa-instagram”></i><i class=”fa-instagram”></i>‘ . “\n”;
}
if ( $id == “github” ) {
$social_icons .= ‘<li class=”github”><i class=”fa-github”></i><i class=”fa-github”></i>‘ . “\n”;
}
if ( $id == “xing” ) {
$social_icons .= ‘<li class=”xing”><i class=”fa-xing”></i><i class=”fa-xing”></i>‘ . “\n”;
}
if ( $id == “behance” ) {
$social_icons .= ‘<li class=”behance”><i class=”fa-behance”></i><i class=”fa-behance”></i>‘ . “\n”;
}
if ( $id == “deviantart” ) {
$social_icons .= ‘<li class=”deviantart”><i class=”fa-deviantart”></i><i class=”fa-deviantart”></i>‘ . “\n”;
}
if ( $id == “soundcloud” ) {
$social_icons .= ‘<li class=”soundcloud”><i class=”fa-soundcloud”></i><i class=”fa-soundcloud”></i>‘ . “\n”;
}
if ( $id == “yelp” ) {
$social_icons .= ‘<li class=”yelp”><i class=”fa-yelp”></i><i class=”fa-yelp”></i>‘ . “\n”;
}
if ( $id == “rss” ) {
$social_icons .= ‘<li class=”rss”><i class=”fa-rss”></i><i class=”fa-rss”></i>‘ . “\n”;
}
if ( $id == “vk” ) {
$social_icons .= ‘<li class=”vk”><i class=”fa-medium”></i><i class=”fa-medium”></i>‘ . “\n”;
}
if ( $id == “twitch” ) {
$social_icons .= ‘<li class=”twitch”><i class=”fa-twitch”></i><i class=”fa-twitch”></i>‘ . “\n”;
}
}
}$output = ‘<ul class=”social-icons ‘ . $size . ‘ ‘ . $style . ‘”>’ . “\n”;
$output .= $social_icons;
$output .= ‘‘ . “\n”;return $output;
}add_shortcode( “social”, “sf_social_icons” );
} -
Posted in: We hit Power Elite.