wacosta
Forum Replies Created
-
Forum: Plugins
In reply to: e-shop and authorize.netbummer
Forum: Themes and Templates
In reply to: Footer menu Links not working in Twenty Twelve ThemeThank you Ross, but it doesn’t seem to work.
One solution I tried was to actually make the title of an Event in Google Calendar into an html link.
So something like: YadaYada
But that didn’t work. It just read it as a text and displayed the code.
Forum: Plugins
In reply to: [eShop] Tax item based on Shipping AddressEsmi-Thank you for the response. Again, unfortunately I do not know how to create a plugin…yet and need to launch this site.
So, if anyone on this forum would like to assist I would happily hire you.Forum: Plugins
In reply to: [eShop] Tax item based on Shipping AddressEsmi,
Do you know if I can change form headers and fields in the Authorize.net form? It autofills based on eshop. Thanks
Forum: Plugins
In reply to: [eShop] Tax item based on Shipping AddressI haven’t created my own plugin so….I am on my own on this. Thanks.
I’ll have to learn. For future updates you should consider this option since I have seen others requesting same for NYS.Forum: Plugins
In reply to: [EWWW Image Optimizer] [Plugin: EWWW Image Optimizer] pngout pathHI I m using your plugin on a wordpress site with the Colorway theme. It does not work. I do not get any results for enlarging image. However I have used it on another site and works perfectly. Any ideas?
Jose,
Unfortunately, it the new function code did not work, generated a blank page.
Thanks for trying.
Thanks let me try this first but which is your excerpt plug-in?
Hi Jose,
Thanks for your time.
This is the url for site: https://www.humkey.ucsc.edu
home page should be full content,
events (upcoming and past) as well as blog posts should be excerpts. The plugin excerpts content on complete site, pages and posts.this is the php for auto excerpt eveywhere:
//<?php
/*
Plugin Name: Auto Excerpt everywhere
Plugin URI: https://www.josie.it/wordpress/wordpress-plugin-auto-excerpt-everywhere/
Description: The plugin shows excerpts instead of contents in your blog, single posts and pages excluded. It tries to display your custom excerpt text and if it doesn’t find it it will show an automatically generated excerpt. You can also define an excerpt length (default is 500) and a custom read more link.
Version: 1.4
Author: Serena Villa
Author URI: https://www.josie.it
*/function auto_excerpt_everywhere_activation() {
if (!get_option(“excerpt_everywhere_length”)){
update_option(“excerpt_everywhere_length”,”500″);
}
if (!get_option(“excerpt_everywhere_align”)){
update_option(“excerpt_everywhere_align”,”alignleft”);
}
if (!get_option(“excerpt_everywhere_moretext”)){
update_option(“excerpt_everywhere_moretext”,”Read more […]”);
}
if (!get_option(“excerpt_everywhere_rss”)){
update_option(“excerpt_everywhere_rss”,”yes”);
}
if (!get_option(“excerpt_everywhere_thumb”)){
update_option(“excerpt_everywhere_thumb”,”none”);
}
}
function auto_excerpt_everywhere_construct() {
$rss_disable=get_option(“excerpt_everywhere_rss”);
$sticky_disable=get_option(“excerpt_everywhere_sticky”);
if ($rss_disable==”yes” && $sticky_disable==”yes”){
if(!is_single() && !is_page() && !is_feed() && !is_sticky()) {
add_filter(‘the_content’,’auto_excerpt’);
}
} else if ($rss_disable==”yes”){
if(!is_single() && !is_page() && !is_feed()) {
add_filter(‘the_content’,’auto_excerpt’);
}
} else if ($sticky_disable==”yes”) {
if(!is_single() && !is_page() && !is_sticky()) {
add_filter(‘the_content’,’auto_excerpt’);
}
} else if ($sticky_disable!=”yes” && $rss_disable!=”yes”) {
if(!is_single() && !is_page()) {
//add_filter(‘the_excerpt_rss’,’auto_excerpt’);
add_filter(‘the_content’,’auto_excerpt’);
}
}
if (!get_option(“excerpt_everywhere_length”)){
update_option(“excerpt_everywhere_length”,”500″);
}
if (!get_option(“excerpt_everywhere_align”)){
update_option(“excerpt_everywhere_align”,”alignleft”);
}
if (!get_option(“excerpt_everywhere_rss”)){
update_option(“excerpt_everywhere_rss”,”yes”);
}
if (!get_option(“excerpt_everywhere_thumb”)){
update_option(“excerpt_everywhere_thumb”,”none”);
}
}function auto_excerpt_everywhere_options() {
add_options_page(‘Auto Excerpt Everywhere’, ‘Auto Excerpt Everywhere’, ‘manage_options’,’auto-excerpt-everywhere/options.php’);
}function myTruncate($string, $limit, $break=”.”, $pad=”…”) {
if(strlen($string) <= $limit) return $string;
if(false !== ($breakpoint = strpos($string, $break, $limit))) {
if($breakpoint < strlen($string) – 1) {
$string = substr($string, 0, $breakpoint) . $pad;
}
} return $string;
}function auto_excerpt($content) {
global $post;
$testomore = get_option(“excerpt_everywhere_moretext”);
$whatthumb = get_option(“excerpt_everywhere_thumb”);
$customclass = get_option(“excerpt_everywhere_class”);
$alignment=get_option(“excerpt_everywhere_align”); if ($alignment==”none”){$alignment=””;}
if ($whatthumb==”none”){ $thumb = “”; }
else {
if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it.
$default_attr = array(
‘class’ => “attachment-“.$whatthumb.” “.$alignment.” autoexcerpt_thumb “.$customclass,
‘alt’ => trim(strip_tags(strip_shortcodes( $attachment->post_excerpt ))),
‘title’ => trim(strip_tags(strip_shortcodes( $attachment->post_title ))),
);
$thumb=get_the_post_thumbnail($post->ID, $whatthumb,$default_attr);
}
}
if ($post->post_excerpt!=””){
$excerpt=$thumb.$post->post_excerpt;
if ($testomore!=””){$linkmore = ‘ ‘.$testomore.’‘;}
} else {
if (strlen($post->post_content)>get_option(“excerpt_everywhere_length”)){
$excerpt= $thumb.myTruncate(strip_tags(strip_shortcodes($post->post_content)), get_option(“excerpt_everywhere_length”), ” “, “”);
if ($testomore!=””){$linkmore = ‘ ‘.$testomore.’‘;}
} else {
$excerpt=$thumb.$content;
$linkmore=””;
}
}return $excerpt.$linkmore;
}
function custom_excerpt_everywhere_length() {
return get_option(“excerpt_everywhere_length”);
}function add_settings_link($links, $file) {
static $this_plugin;
if (!$this_plugin) $this_plugin = plugin_basename(__FILE__);if ($file == $this_plugin){
$settings_link = ‘‘.__(“Settings”, “auto-excerpt-everywhere”).’‘;
array_unshift($links, $settings_link);
}
return $links;
}register_activation_hook(__FILE__,’auto_excerpt_everywhere_activation’);
add_action(‘the_post’, ‘auto_excerpt_everywhere_construct’);
add_action(‘admin_menu’,’auto_excerpt_everywhere_options’);
add_filter(‘excerpt_length’, ‘custom_excerpt_everywhere_length’);
add_filter(‘plugin_action_links’, ‘add_settings_link’, 10, 2 );
if ( function_exists( ‘add_theme_support’ ) ) {
add_theme_support( ‘post-thumbnails’ );
}?>//
HELLO!
I am using auto excerpt everywhere but would only like to excerpt my posts not pages. Any idea how to accomplish this? I am at a loss. I don’t want to excerpt the text on my home page, but need to excerpt on my post pages. Thank you for your help!
Forum: Fixing WordPress
In reply to: Category Posts with PaginationThanks, I am not getting a 404 error. Just no pagination. I believe I can fix through Loop but haven’t been successful. If anyone has some results please share!
So I have de-installed 2.08 and now back to 1.1.8.1 version. Why is my logo not showing up?? Any ideas? Like this theme but a bit frustrating to work with. Please advise. I just started. THANKS.
Forum: Themes and Templates
In reply to: Using Quest Theme need help w scrollerHello, I would like my scroller bar thumbnail images to link to page(permalink) Any ideas how I can do this? I tried to edit function.php but no luck. I am using the Quest theme.
url: https://www.equitable-communities.orgTHANK YOU!!
Forum: Themes and Templates
In reply to: Bright page 1.5 image uploadhi givesuccess,
i have another question. on my nivo slider. i want a smooth fade-in and out. right now not quite doing that. where can i adjust? i think it’s in the nivo js file but where? thanks!
here is the url: justbeskinline.com