Themes create the public (front-end) interface for a WordPress site.

learn more… | top users | synonyms

0
votes
1answer
14 views

Theme Options Page - User Updates Logo

I'm a newbie to WordPress Development so bear with me. Site: https://wordpress-portfolio-zacnespral21.c9.io/ On the site above I would like to add an option in the themes options page for the user ...
-2
votes
0answers
14 views

How to remove certain contents of the header in wordpress bistro theme

so I'm using the Bistro theme for wordpress and I need to know how to remove just certain contents from the header. How do i do that?
0
votes
0answers
19 views

How do I include pre-installed images in a theme?

If I made a theme or converted an HTML one into Wordpress, how do I include images so that they sort of come pre-installed with the theme? Is there a way to do it by pre-programming it or the only ...
-1
votes
0answers
8 views

cant load any image for logo modifying jetpack plugin

!Dont know whats wrong in my coding but it just doesnt upload image for logo ...i added coding in my custom theme
0
votes
1answer
18 views

How to create custom page templates with default page layout framework?

I'm writing a custom theme. Most of the content will use the regular index.php, header.php and footer.php. The index.php looks like <?php get_header(); get_sidebar(); ?> <div ...
0
votes
0answers
21 views

Show posts from all categories

I have a site with 5 different categories, each of them with a notices section. I would like also to have another section to see the latest notices from any category. So far, I figured out that I can ...
0
votes
0answers
14 views

How to update premium themes?

I have a question about premium themes in general, not a specific one. When you need to update a premium theme, a lot of websites suggest that you deactivate and delete your existing copy of the ...
0
votes
1answer
22 views

Add option for administrator to submit link

I created a theme, and the theme have social icons in the header, now i want a theme feature, where administrator can link their profile to social icons that I have on my theme. I researched on this, ...
0
votes
1answer
14 views

How do I get a parent theme modification from a child theme?

I've built a child theme, and I would like to reuse some of the settings created by the parent. I hoped this would be as easy as get_theme_mod( 'setting' ) inside the child theme, but that returns ...
0
votes
1answer
20 views

Blog styling in SASS

Every so often I get a request like this: "Build a site using WordPress as the CMS [easy...]. Oh and we'll have a standard looking blog thrown in. No need to worry about styling, the default look ...
0
votes
1answer
25 views

Protecting work on client's web host

I am taking on a freelance job making modifications to a client's already existing website/Wordpress theme. What is the best way to work on the client's current web host without putting myself at risk ...
0
votes
1answer
15 views

get_page_template returning nothing

I run this code in front-page.php as well in category-foo.php <?php echo is_page_template( 'front-page.php' ) ? "yes" : "no" ?> and get both times "no" printed i tried as well <?php ...
0
votes
0answers
15 views

Theme files encoded/converted to random numbers and letters. Is it possible to fix it?

I've been working on this theme for a few months now, locally, and today, I opened up the project and some files were "encoded" into random letters and numbers. Not all of the files, just a few, but ...
0
votes
0answers
6 views

My customizer's setting doesn't set to the default and needed to click the control's “Default” button before it'll be set

Here's my sample customizer's setting and control: $wp_customize->add_setting( 'themename_img', array( 'type' => 'theme_mod', 'default' => ...
0
votes
1answer
21 views

License of the used Bootstrap Theme is not GPL compatible

I have made theme using material design html & css https://github.com/FezVrasta/bootstrap-material-design. But my theme is no getting approve because License of the used Bootstrap Theme is not GPL ...
0
votes
0answers
8 views

Coding color opacity options in theme options admin panel

I wanted to give the user the ability to change the opacity of a navigation menu background color from the theme options admin panel. I have already been able to achieve giving the user a color ...
1
vote
1answer
22 views

How can my theme allow users to take advantage of advanced html tags in posts

Not sure how to phrase this question. Let me paint a simple Wordpress setup for single.php: <div id="container"> <?php the_content(); ?> </div> But what if, inside ...
0
votes
2answers
57 views

Custom taxonomy page template

I'm working on my own wordpress theme for the first time. I registered a new post type with custom taxonomy, but I can't display the posts by terms. I duplicated the archive.php and renamed it to ...
0
votes
0answers
11 views

wpmail in conditional statement in theme template

I am using a theme which uses PostRelations to create courses, lessons and plans. A plan can be set for a certain period such as a month, year etc. The plan expires when this period is over. I am ...
0
votes
0answers
7 views

Menu for Showing the Children of 2nd Level Menu Items on 2nd & 3rd Level Pages

The title may be confusing, but please follow along. I have a 3-tier menu. There are the parents (1st tier), and some have children (2nd tier), and some of those children have children (3rd tier). I ...
0
votes
0answers
11 views

Building URLs with Custom Post Type

Here is my current dilemna. I have created two custom post types, Verticals and Products. The Products information is fed into the Verticals and there is an interior nav with anchor links that ...
0
votes
0answers
6 views

Save the outputted image into the Media Library, with a different filename and extension

For example, I have this "/image.php" file in my "/theme-directory": header ('Content-Type: image/png'); $im = @imagecreatetruecolor(120, 20) or die('Cannot Initialize new GD image stream'); ...
0
votes
2answers
41 views

Getting Permalink within the loop

I have a (Roots/Sage-based) theme with a home.php template override and on that page am displaying excerpts and featured image for each post. <?php while (have_posts()) : the_post(); ?> ...
0
votes
1answer
13 views

Featured Image Module Randomly Disappears

I've been running into an odd problem on our WP blog that has me befuddled. I custom built the theme we use and I enabled Featured Images by adding the following line to the beginning of the ...
0
votes
1answer
40 views

Replaceing _custom_background_cb

I'm making a theme where I'm adding support for the custom background feature with this standar function: // fig. 1 <?php function custom_theme_support() { ...
0
votes
0answers
22 views

How to assign navigation menu to certain location with Settings API?

Using the code below, one can assign a menu with id $term_id_of_menu to 'primary-menu' location. $locations = get_theme_mod('nav_menu_locations'); $locations['primary-menu'] = $term_id_of_menu; ...
0
votes
1answer
19 views

Best strategy for providing theme options using customizer

I am making a free distributable theme and I wish I could provide theme options in the best possible way. I have doubts (mostly about widgets) and sidebars. Here we go: Is it a good idea letting the ...
1
vote
0answers
13 views

Pull request in Wordpress repository?

I have to translate a theme adding translation files (.mo and .po). After it, I would like to contribute adding such translation to the theme repository. Is there any kind of pull request in ...
0
votes
1answer
30 views

There's an image named g.gif somewhere in my WordPress site

I am looking for this pixel which appears full width in my mobile site, so I want to remove it. Image URL: ...
0
votes
0answers
25 views

Best practice: What belongs in theme and what in plugin for large eCommerce website

I am about to create a large custom eCommerce website that does not fit within WooCommerce. (Most of the times I use WooCommerce for eCommerce.) It has also a completely custom design. However I know ...
0
votes
1answer
39 views

How to organize functions.php content

When building custom themes, I often add my own functions inside functions.php: <?php function my_function() { // Do something... } Should I organize all my custom functions ...
-1
votes
0answers
20 views

Custom animation coding on my theme [closed]

I'm developing a site for a client and want to adjust the level of animation on the intro page welcome elements. Here's the site in development: http://o8c.co.uk/red-star/ There is some animation ...
-3
votes
0answers
23 views

Updated: Encountered two errors

I'm creating my own theme. The problem is I'm getting these error: Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the ...
0
votes
0answers
29 views

use add_action('wp_head') in a widget for generating dynamic CSS styles

I have been working on a 'Custom Pop Links' widget for use in a theme which is ready for distribution. User can change the color of a link using a color picker inside widget. Untill now, I used inline ...
1
vote
1answer
22 views

Make custom CSS changes and use built in theme customizer later?

Our company hired an outside developer to make changes to our WordPress header and theme colors. After he made the changes, we attempted to update the logo and change the header menu font color by ...
0
votes
0answers
14 views

Sorting CPTs with multiple taxonomies

I'm currently rebuilding my company's website as a WordPress site, and I've hit a bit of a snag. Background: I work for an FMO that supports independent insurance agents, and on our current website ...
0
votes
1answer
45 views

Sort and paginate custom post taxonomies alphabetically

I need to sort and paginate custom taxonomy post types. i have a page where i have next and previous link. on clicking next and previous link next or previous brand(custom taxonomy) should load. I ...
0
votes
0answers
12 views

Use URI to query database and display info in main page

I am sorry if this question has been asked before, but I haven't been able to find a potential solution to my problem. I developed a custom plugin, which has a custom table (very simple, 4 fields, ...
4
votes
3answers
156 views

Using Docker for WordPress development

I am getting started with Docker and I'm still new to professional WordPress development practices. I would like to set up a Docker development environment (on my Mac) so that I can do custom ...
0
votes
0answers
15 views

Displaying post form catagory saved in array

I am using option tree framework plugin.In my option, the catagory id is saved in array. The var_dump is as follows $tmq_social_items = ot_get_option( 'tmq_social_items' ); ...
0
votes
0answers
35 views

Add a sidebar for menu item?

I want to modify the WordPress navigation menu. I have added a custom checkbox in the menu items custommenu. If that is enabled, then I want to remove the submenu items for that item and include a ...
0
votes
1answer
24 views

Taxonomy-$taxonomy-$term not working

This question might seem very simple, but I cannot find a proper answer for it. In my example I should have multiple pages that should display 'FAQ'. For that I have added custom taxonomy page_type ...
0
votes
1answer
20 views

Having Issue on Getting Metabox Checkbox Value

I have a Custom Post Type with two Metabox attached as: $offerPrice = isset( $productValuesl['offer_box'] ) ? esc_attr( $productValuesl['offer_box'][0] ) : ''; $offer = isset( ...
0
votes
0answers
12 views

Wordpress select adding an extra post

I have this script that is supposed to pull all of the posts with the same category id as the page titles name. So if the page titles name is "non-profit" it pulls all the posts with the category ...
0
votes
1answer
23 views

Wordpress Custom Search By Alphabet and order by asc and sesc

I am new to word-press but i can easily work on core php and other mvc framework,acutally i want to add custom search for only subcategory post. The search will with below Search post By old to new ...
0
votes
1answer
105 views

Custom entity search and display

I am developing a custom plugin that adds a new product entity with its own tables to the database. I would like to perform custom queries on those products through a custom search form -the classic ...
0
votes
0answers
30 views

Category Page showing all posts

I created a menu for my categories. (Some links have sub menus). I added this to the top of my index.php page <?php wp_nav_menu(array('theme_location' => 'lib-menu', 'container_class' => ...
0
votes
1answer
7 views

get_theme_mod returning no output

I can't work out why this isn't displaying anything. The option appears in the appearance - customise menu, I input my settings and display using:- <?php get_theme_mod( 'twitter' ); ?> <?php ...
0
votes
0answers
11 views

is it possible to get update link of a theme or plug-in?

I have a custom theme that I developed. I would like to show a admin notice to user who can manage wp. via function cyn_admin_notice(){ $info['last_update'] = ...
0
votes
0answers
19 views

Problem with get-pages and custom template

I build a one page wordpress theme and i use get-pages to load all pages in front-pages.php , but i can't load pages with custom Template . this is my code in front-page.php $pages = ...