jalacom
Forum Replies Created
-
Forum: Plugins
In reply to: [What The File] parse error crashes the siteI have the same problem. Has this been resolved? I’m not using the Sage theme either. I thought the plugin was supposed to be theme agnostic.I installed the plugin from the plugins menu in the admin. Line 213 where the parse error is occurring contains the following:
$this->template_name = basename( Roots\Sage\Wrapper\template_path() );
What’s strange is that the plugin works on one of my wordpress installs, then I migrated the wordpress install to a new domain and hosting account and it doesn’t work there (everything works fine on the migrated account except for this plugin). The plugin code is the same on each install.
Thanks for any help you can give. Use the plugin all the time, its very helpful for editing my themes.
No luck so far. Still can’t add the necessary img attribute for the js file to function.
Could use some help. Thanks.hopefully I’m not over complicating my question.
Let me know if you can help me out.all fixed with NeoTechnomad’s help.
Perfect. That did it. I have a just a little bit of clean up to do on it, but everything is functioning. Should have worked with the index.php file to start with!
Thank you so much for looking this over and offering a solution. Much appreciated.
NeoTechnomad, Thank you for taking the time to help. I will go through and make the changes and check back whether its resolved. Thanks again!
yes they are.
I’m open to writing the multiple loops differently if i’m over complicating it.No such luck. The simple theme had the same issue. I’m officially clueless now…
Well perhaps I’m not looking at the right stuff but I reviewed that and it didn’t seem to yield any results. I tried addressing the issue shown in the Notes section by adding
ini_set( 'mysql.trace_mode', 0 );
to my functions.php file but nothing changed.I then tried rewriting the loop just using
query_post
and rewinding the posts then limiting the second pass to the category of “portfolio”. I’d been avoiding using query_post, but figured I’d give it a shot…. didn’t make a difference. II’m going to try to build a quick simplified theme without all the fluff from underscores.me and see if that makes a difference. Other than that I’m out of ideas.
Thank you I will take a look and compare.
turned off plugins, can’t find anything in the functions that might be causing it. Still not sure what’s happening with the pagination link. Any help is appreciated.
Thanks for taking a look!
Hmm, I have “What the File” and “Custom Post Type UI” plugins installed. I was only using “What the File”. I just deactivated both.
Not sure what else would be doing it, I’m using an Underscores.me default theme.
I’m at a loss.
I suppose there could be something in the functions.php file?
Here’s it’s contents. I haven’t changed anything from the defaults yet:if ( ! function_exists( 'joelacom_portfolio_setup' ) ) : /** * Sets up theme defaults and registers support for various WordPress features. * * Note that this function is hooked into the after_setup_theme hook, which * runs before the init hook. The init hook is too late for some features, such * as indicating support for post thumbnails. */ function joelacom_portfolio_setup() { /* * Make theme available for translation. * Translations can be filed in the /languages/ directory. * If you're building a theme based on joelacom_Portfolio, use a find and replace * to change 'joelacom_portfolio' to the name of your theme in all the template files. */ load_theme_textdomain( 'joelacom_portfolio', get_template_directory() . '/languages' ); // Add default posts and comments RSS feed links to head. add_theme_support( 'automatic-feed-links' ); /* * Let WordPress manage the document title. * By adding theme support, we declare that this theme does not use a * hard-coded <title> tag in the document head, and expect WordPress to * provide it for us. */ add_theme_support( 'title-tag' ); /* * Enable support for Post Thumbnails on posts and pages. * * @link https://developer.www.ads-software.com/themes/functionality/featured-images-post-thumbnails/ */ add_theme_support( 'post-thumbnails' ); // This theme uses wp_nav_menu() in one location. register_nav_menus( array( 'primary' => esc_html__( 'Primary', 'joelacom_portfolio' ), ) ); /* * Switch default core markup for search form, comment form, and comments * to output valid HTML5. */ add_theme_support( 'html5', array( 'search-form', 'comment-form', 'comment-list', 'gallery', 'caption', ) ); /* * Enable support for Post Formats. * See https://developer.www.ads-software.com/themes/functionality/post-formats/ */ add_theme_support( 'post-formats', array( 'aside', 'image', 'video', 'quote', 'link', ) ); // Set up the WordPress core custom background feature. add_theme_support( 'custom-background', apply_filters( 'joelacom_portfolio_custom_background_args', array( 'default-color' => 'ffffff', 'default-image' => '', ) ) ); } endif; add_action( 'after_setup_theme', 'joelacom_portfolio_setup' ); /** * Set the content width in pixels, based on the theme's design and stylesheet. * * Priority 0 to make it available to lower priority callbacks. * * @global int $content_width */ function joelacom_portfolio_content_width() { $GLOBALS['content_width'] = apply_filters( 'joelacom_portfolio_content_width', 640 ); } add_action( 'after_setup_theme', 'joelacom_portfolio_content_width', 0 ); /** * Register widget area. * * @link https://developer.www.ads-software.com/themes/functionality/sidebars/#registering-a-sidebar */ function joelacom_portfolio_widgets_init() { register_sidebar( array( 'name' => esc_html__( 'Sidebar', 'joelacom_portfolio' ), 'id' => 'sidebar-1', 'description' => '', 'before_widget' => '<section id="%1$s" class="widget %2$s">', 'after_widget' => '</section>', 'before_title' => '<h2 class="widget-title">', 'after_title' => '</h2>', ) ); } add_action( 'widgets_init', 'joelacom_portfolio_widgets_init' ); /** * Enqueue scripts and styles. */ function joelacom_portfolio_scripts() { wp_enqueue_style( 'joelacom_portfolio-style', get_stylesheet_uri() ); wp_enqueue_script( 'joelacom_portfolio-navigation', get_template_directory_uri() . '/js/navigation.js', array(), '20120206', true ); wp_enqueue_script( 'joelacom_portfolio-skip-link-focus-fix', get_template_directory_uri() . '/js/skip-link-focus-fix.js', array(), '20130115', true ); if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { wp_enqueue_script( 'comment-reply' ); } } add_action( 'wp_enqueue_scripts', 'joelacom_portfolio_scripts' ); /** * Implement the Custom Header feature. */ require get_template_directory() . '/inc/custom-header.php'; /** * Custom template tags for this theme. */ require get_template_directory() . '/inc/template-tags.php'; /** * Custom functions that act independently of the theme templates. */ require get_template_directory() . '/inc/extras.php'; /** * Customizer additions. */ require get_template_directory() . '/inc/customizer.php'; /** * Load Jetpack compatibility file. */ require get_template_directory() . '/inc/jetpack.php';
Forum: Fixing WordPress
In reply to: Help! my images are showing up!Ok I found the problem…so I had two installs. One for testing and the live site. apparently the links didn’t get updated when I moved to the live site and they were being pulled from the test site which I had since deleted….Sooo i was the one to blame and should have checked that the site was working after I erased the test copy.
Lesson learnedForum: Fixing WordPress
In reply to: Help! my images are showing up!Looks like any image added with CSS is showing any image in the HTML is not… still stumped
Forum: Fixing WordPress
In reply to: create meta-data for homepage and individual posts.I know there’s a lot of information to sift through but if anyone has some ideas I’m all ears. Thanks again