Questions tagged [genesis-theme-framework]

The Genesis Framework is a premium parent theme / framework for WordPress. It contains the user functionality and SEO benefits that is used by free and premium child themes.

Filter by
Sorted by
Tagged with
11
votes
2answers
106k views

Display current category title on category page

Using the following code in a category template, but instead of showing the current category page that I am on, it displays the first category of the first post. For example on Food category page it ...
8
votes
2answers
10k views

Undefined offset: 0 in > […] /wp-includes/capabilities.php on line 1067

Hey I get this error messages on my localhost setup, but only with the Genesis Framework enabled; WordPress Twenty Eleven works fine. This happens when I want to create a new post. If I refresh the ...
7
votes
3answers
1k views

Any advantage of using wp_scripts and is_IE when enqueuing scripts

I read on the WP docs, which pointed to this gist that the correct way to enqueue styles for IE is by using the $wp_styles. I'm guessing that this would be true then for scripts as well. Take these ...
5
votes
1answer
2k views

Genesis - Customize search form

I wanted to change my search form a bit by adding autocomplete="off" to the search input. I initially looked for a simple filter like the following: //* Customize search form input box text ...
3
votes
2answers
355 views

Adding a search form inside a div

I wanted to add a search form inside a div using the code bellow: printf( '<div class="entry"><p>%s</p>%s</div>', apply_filters( 'genesis_noposts_text', __( 'Try again below.',...
3
votes
2answers
4k views

Modify the post/entry wrapper markup in genesis childtheme [closed]

I feel like this should be an easily found answer but so far I havent found anything. So the genesis loop automatically wraps the posts in a div like so: <div class="post-4006 post type-post ...
3
votes
1answer
599 views

Genesis Child and Custom Post Type

I'm working on Custom Post Type and Genesis Child Theme. My code is add_action( 'init', 'register_cpt_testimonial' ); function register_cpt_testimonial() { $labels = array( 'name' =>...
3
votes
1answer
5k views

Create a Widget Area in the Navigation Bar for the Genesis Theme Framework?

(Moderator's note: The original title was "How can I create a widget area in the navigation bar (Genesis specific)?"( I'm trying to create a widget area in my navigation bar. I'm attempting to adapt ...
3
votes
3answers
4k views

Change Genesis <title> Tag from Page Template [closed]

I have made a page template for a Genesis theme in which I want to change the <title> tag but I can't find any API reference or example to do this. Does anyone have any idea how to do this?
3
votes
4answers
8k views

Using Custom Templates for Custom Post Types for the Genesis Theme Framework?

(Moderator's note: The original title was "How can I create create and use a custom template for custom post types in the Genesis theme framework?") I'm using the Genesis theme framework, with an ...
2
votes
5answers
18k views

How to add code just below opening body tag in Genesis framework

We need to add two snippets of code, one right below the opening body tag, and the other right before the closing body tag. What is the best way to do this? I checked out the wp_enqueue_script, but it ...
2
votes
1answer
1k views

Editing or filtering the output of the Genesis navigation

I'm trying to edit or apply a filter to the default Genesis navigation genesis_do_nav Currently I'm extending a Walker class to add a <span> with data-attribute around the navigation's link ...
2
votes
2answers
6k views

How to add specific menu on a specific page or pages

I'm looking for help on how to add specific menu on a specific page or pages with no plugin. I know how to add and register a new menu like this: //* Register third navigation menu position function ...
2
votes
2answers
87 views

How do I turn a 404 page into an automatic search with the info from the url?

All 404 implementations seem to revolve around showing related content. I think we can do one better by automatically searching for the missing post... How can this be done?
2
votes
3answers
4k views

htaccess: Remove trailing slash from URL ending with .xml/ only

I need to remove trailing slash from URLs ending with .xml/ only .. For this purpose I've created a Rewrite Condition and Rule which is working perfectly fine for the test link http://website.com/test....
2
votes
3answers
10k views

Displaying Custom Fields on Post with Genesis Child Theme

I have tried everything to get Custom Fields to display on my posts using a Child Theme of the Genesis theme framework. I have tried to follow every tutorial I could find relating to it but still I ...
2
votes
3answers
3k views

get_post_meta not working inside loop

I was hoping for some assistance with a custom meta box that I added to my genesis child theme. The data is being saved properly, and stored properly, but when I try to echo it out using ...
2
votes
3answers
3k views

How to keep my custom theme changes after updating genesis child theme

I am using a Genesis child theme that I would like to make some custom changes to it, but would like to be able to update it when a new version comes out without loosing my edits. I am familiar with ...
2
votes
1answer
1k views

Remove Archive Headline and Archive Intro Text fields on category and tag archive pages in WordPress Admin with Genesis framework

I'm currently having a little trouble with removing the Archive Headline and Archive Intro Text fields on the category and tag archive screen in WP Admin. On the category and tag archive pages, ...
2
votes
1answer
618 views

Removing http:// from esc url() for wordpress customizer code

I've been trying to figure this out for a few days now and I've now come to the understanding I need help. I've never worked with the wordpress customizer but have been recently interested in adding ...
2
votes
1answer
8k views

Edit/Customize the Single Page of a Genesis Sample Child Theme

I got my 'Page' and 'Blog List' Page working.. But when i click on one of my Post... the Layout is different .. I want to edit it. Where can i find that? I tried to edit it.. <?php /* WARNING: ...
2
votes
1answer
20 views

Second nav is merged with the first in mobile

When I load the website (https://notes.goncaloperes.com) on mobile one can see the two menus/navigations that exist However, when it loads, the two navs are merged and the second menu buttons can ...
2
votes
1answer
472 views

Unable to show ACF's Image Custom Field properly in Genesis Framework [closed]

WP 4.7.3 with Types, Genesis Sample Theme, ACF and a few very well-known plugins, nothing special or non-standard. I know how to display custom fields from an Advanced Custom Fields Repeater Field on ...
2
votes
1answer
1k views

Pagination difficulty using custom query in genesis-based custom theme

I am creating a genesis child theme. I have a category called 'faculty' with about 60 posts in it. I am modifying the category template file so that it displays this category in a customized fashion. ...
2
votes
1answer
376 views

Wordpress Genesis Child Theme Filter divs

I'm trying to html5ize a Genesis child theme. So far I've figured out how to replace the Doctype via hook but am having trouble figuring out how i can change the divs to sections and articles without ...
2
votes
1answer
59 views

Including Custom Post Type posts in a page template contextually (or should I widget?)

Please see the attached mockup… Each element in the sidebar (e.g., Communications) will probably have to be a Page. I'm aiming for maximum flexibility. I am using Epik (a Genesis child theme). I ...
2
votes
1answer
6k views

Custom Blog Post Listing in Genesis Sample Child Theme

I want to add several images and divs and also customize the look of my Blog post listing... But i can't find the way to do it. Here's the Blog Template code <?php /* WARNING: This file is ...
2
votes
1answer
163 views

Wordpress Hide Show Content script and activate/deactivate script on screensize

I am currently using jquery.expander.js to hide/show paragraph content. I want to only use this for screen sizes less than 500px width and less (for mobile phones) ONLY. I am working in wordpress 3.5 ...
1
vote
1answer
3k views

Display a default image for custom-logo

I am switching my Genesis theme over to use Wordpress' 4.5 custom-logo function. It was simple to do: add_theme_support( 'custom-logo', array( 'width' => 861, 'height' =&...
1
vote
1answer
834 views

StudioPress: add meta tag to every page [closed]

I need to add this meta tag to every page in my site. <meta http-equiv="X-UA-Compatible" content="IE=edge"> I found this PHP function on github add_action( 'wp_head', 'wsm_keep_ie_modern' ); ...
1
vote
1answer
2k views

Adding ads after a certain number of paragraphs within Genesis themework

I am so close I can feel it. I am trying to get an ad block to show up after say 2 paragraphs. Currently I am using the following code in my functions.php to put the adblock before the last paragraph. ...
1
vote
1answer
74 views

Custom Fields Code not echoing whats in the value field

Hey friends: I'm trying to use wordpress custom fields that seem like would be fairly straightforward. I'm using Genesis Outreach Pro child theme This code is now located in my function.php file: //*...
1
vote
1answer
133 views

Log in link not showing, Comment Issue

We want user to register and then comment. So we, Checked the option of "Anyone can register" as true. Checked the option of "Users must be registered and logged in to comment" as true. Now, the ...
1
vote
2answers
5k views

Show featured image next to post-teasers in Genesis Framework?

I want my posts to have a featured-image thumbnail beside it, how do I do this?
1
vote
1answer
885 views

Genesis menu position change

Sorry for silly question, I'm pretty new in WordPress and Genesis. I want to move Genesis menu above header. How can I do that?
1
vote
1answer
530 views

PHP loop that selects posts with a particular in-post option

Im trying to build a Featured post slider to show any post that i mark as a "featured" (with a in-post option) regardless the category or tag type... Im new to wordpress and although I understand a ...
1
vote
1answer
18k views

Uncaught TypeError: Cannot read property 'replace' of undefined

I have used this jquery script on many of my sites with the same theme, settings, etc. It's in a wordpress Genesis Child theme. On my current local build, however, when I click on an a href that has ...
1
vote
1answer
454 views

Wordpress Genesis custom taxonomy archive shows 3 repeats of each post

I am using a child theme on genesis. I have set up a custom post type and a custom taxonomy, and I'm using Advanced Custom Fields to put a gallery on each page of the CPT. On the taxonomy archive ...
1
vote
1answer
114 views

Is it possible to roll back to a previous customization of Genesis?

Excuse my ignorant question, but couldn't find anything about this anywhere. I did some changes on a Genesis based site. The site was set to display last posts (rather than static page) and I used ...
1
vote
1answer
366 views

Custom Post Type Loop throws 500 error when used in widget

I'm trying to add a custom post type custom loop in a widget. Everything here worked correctly until I added the loop to the our_team_section_after() function. I can't find any syntax errors, ...
1
vote
2answers
4k views

Genesis: How to add content after aside and before the content-sidebar wrap

Fail #1: The hook, genesis_after_content, allows me to add content directly after the <main> tag and before the <aside> tag. So in a content first, sidebar second configuration, it would ...
1
vote
1answer
2k views

add_action and remove_action if custom field exists

I know this may be off-topic as it has to do with Genesis (a premium framework), but with general WordPress, this has to do with running a remove_action and an add_action depending on if a custom ...
1
vote
2answers
715 views

Problem with WordPress query on page using custom fields

I have a website with the custom post type sammenligne, along with some custom fields made using Advanced Custom Fields (ACF). I have modified an archive site (archive-sammenligne.php) which displays ...
1
vote
1answer
1k views

WordPress Genesis not excluding category from blog

I am trying to exclude a category from my blog. I login to WP and go to Genesis and Theme Settings and add the category IDs to the Blog Page Template area and hit save. Nothing happens. I have also ...
1
vote
1answer
658 views

Exclude a category from the filed under list

I have a site where I have a category that I'm using for some backend functionality. However, when I'm viewing a post that is in that category and other categories, I don't want to see that category ...
1
vote
2answers
2k views

Select full Image Size on widget “Genesis - Featured Posts”

I'm writing a child theme for Genesis and trying to figure out to get the full image sizes on "Genesis - Featured Posts" widget. The widget has a check box "Show Featured Image" and "Image Size" ...
1
vote
4answers
3k views

How can I eliminate the inline styles included by default with the Genesis framewrok?

I have created a child theme in the Genesis framework. I have created all of my style rules, however, in the markup, Genesis adds a few inline rules by default that I would like to eliminate. The ...
1
vote
1answer
230 views

Back to the basics: What's so great about a framework?

I'm brand new here and I'd like to start off by asking about WP frameworks. I've seen quite a bit out there, so I'm confused about what to choose for my site. So here are a few questions: What is ...
1
vote
1answer
521 views

How to change the layout of a product page

I'm using WP-ECommerce with the genesis framework. I can set the layout of the Products page to single column, but when I select a single product it uses the default layout and not the products ...
1
vote
0answers
15 views

Display posts from a different website on Genesis Responsive Slider

In the homepage of this website, I have the widget "Genesis - Responsive Slider". From the "Genesis - Responsive Slider" Settings, one can see that it is picking up the posts from ...