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

learn more… | top users | synonyms

0
votes
1answer
7 views

wp_nav_menu custom walker <a> class

So I'm learning about custom walkers and I've run into a few issues. I've got a custom walker set up. One issue I'm having is figuring out how to add a class to the <a> inside of the start_el ...
-3
votes
1answer
15 views

How can I fix my pagination?

I'm trying to get pagination working on my custom wp_query post loop. I currently have it set up, but when I click on page 2, it shows the exact same posts from page 1. I have a total of about 8 posts ...
-1
votes
0answers
23 views

Site showing 500 internal server error

My site is showing a 500 (Internal Server Error) which is disabling me from being able to make my desired customizations to it. I've looked online and tried some of the solutions that I found but ...
-2
votes
0answers
17 views

Wordpress theme Impreza: Menu not showing when I'm logged out from WP

I'm using WP theme Impreza. Problem is menu doesn't show when I'm logged out. When I'm logged in menu is showing.
3
votes
1answer
41 views

Can't get staging site to display same way as live site. Completely stumped

Background I have a situation that's been driving me up the wall. After many hours (more than I'd like to admit), I've been unable to solve it. So I am thinking there must be a better way to go about ...
-1
votes
0answers
14 views

Building website for college with minimal budget [on hold]

I have a task to come up with a solution for one college on a very low budget. This is not an online course college. It's more like further education college. I am looking for either: * ready ...
0
votes
0answers
12 views

Blank WordPress//BoldGrid site. Where do I start as to not repeat tasks or create conflicts? Is there an order of operations so to speak?

Where do I start as to not repeat tasks or create conflicts? Is there an order of operations so to speak? I want to be efficient and thorough but keep getting stuck on weird tasks that become mute ...
-1
votes
0answers
17 views

Bronx WooCommerce Theme v.1.4.0 non-responsive number of products per row settings [on hold]

Dashboard > WooCommerce > System Status > Templates When installing and activating WooCommerce plug-ins (provided in themeforest-12498057-bronx-responsive-drag-drop-woocommerce-theme.zip), soon after ...
0
votes
1answer
19 views

How to add wordpress plugins in along with my standalone theme

I am developing my own custom WordPress theme but in my custom theme i am using some of plugins. Actually i am adding some custom field plugin to customize the text on my theme. My problem is that ...
-4
votes
0answers
31 views

working with codeable.io

does anyone have experience with codeable.io service, agency which hires wp experts. I want to apply but don't know what are they looking for and web page doesn't provide a lot of informations.
0
votes
1answer
18 views

Warning: Invalid argument supplied for foreach() in post.php

Just moved my site to another server and now I get this error: Warning: Invalid argument supplied for foreach() in /home/menta/domains/land.menta4u.co.il/wp-includes/post.php on line 1172 On ...
0
votes
0answers
19 views

Can compromised theme files lead to WordPress core files being modified?

I was recently given a website that had been hacked before I took over maintenance for it. There was a script injected to the top of every core WordPress and theme PHP file. The first step was to ...
-4
votes
0answers
36 views

Use cases for modifying themes and plugins [closed]

I'd like to make the leap from "implementer" to serious "developer" and would like some useful projects to work and learn on. It would be great if I could get a list of real use cases for modifying a ...
0
votes
1answer
13 views

How do I use the add_query_arg function in a template tag like previous_post_link?

I am trying to change the output of the previous_post_link and the next_post_link and basically add a query argument to them. The documentation just mentions that you can use the %link placeholder ...
0
votes
1answer
24 views

Setting a fluid content width

I'm thinking about setting the content width theme feature in my theme's functions.php file using: if ( ! isset( $content_width ) ) { $content_width = 600; } My understanding is this will set ...
0
votes
1answer
25 views

Shortcode call not working in WP Template

I'm working with a Visual Composer shortcode to call a text resizer into being. When using the Visual Composer or the classic WYSIWYG, if I insert it's shortcode [enlarge_text small='A' ...
0
votes
1answer
69 views

The post order is different for logged-in and non-logged-in users? [closed]

I noticed that for some reason on my site, the post order changes depending on whether a user is logged in or not. When I am logged in as the admin, the posts display is chronological order. But when ...
1
vote
0answers
43 views

What is better way to use Bootstrap inside admin panel?

I need to use Bootstrap CSS for better UI in wp-admin but if I enqueue the bootstrap.css, it's affecting the admin default UI by changing background colors, etc. How can I use bootstrap.css inside wp-...
3
votes
2answers
37 views

In theme development, are there functions which write HTML in a standard fashion to reduce “spaghetti code”?

For example, if I'm building a list in a plugin that loops over an array to produce a list ul or ol. I typically see code as follows. foreach($list as $item) { $output .= '<li>' . $item['...
-1
votes
1answer
36 views

Why functions metaboxes is causing White Screen in Admin [closed]

I am having an issue after migrating a project to other server. When I go to /wp-admin I am getting a 'White Screen of Death'. If I access to /wp-login.php instead I get the login form but with an ...
0
votes
1answer
22 views

Make page accessible from another URL

I have the following fictitious URL which returns a page: www.test.co.uk/park/leisure-village/overview/ Is it possible to make the following URL www.test.co.uk/park/leisure-village/, also display ...
0
votes
3answers
54 views

Can a new theme cause permanent damage?

I am low on tech skills and I have hired a developer to make a new theme for a wordpress site. He is requesting ftp access to the theme directory for final touches on the theme. Is there any ...
-2
votes
1answer
26 views

How to remove proudly created by WordPress in theme?

How to remove proudly created by WordPress in theme?
-1
votes
0answers
25 views

How to create wordpress child theme for mobile only

I create my own theme for specific website. I want to create a child theme that take a part only for mobile (under 768px screen width) users. Ho can I do that?
0
votes
1answer
30 views

Is there a way to optionally hide the title bar when logged in?

When I'm creating a theme and I'm logged in, there is a wp admin bar that runs across the top of the page. This is helpful for normal use but it makes it hard to see what I'm working on when I'm ...
0
votes
0answers
20 views

admin-ajax.php 404 not found [closed]

I'm trying to edit theme color , when i press save and publish button it shows the error as in the picture , any possible solution ?
0
votes
1answer
27 views

tiny_mce_before_init: 'exact' => true has no effect

For a custom theme, the editors want to be able to select three different font sizes in the post editor. I thought about using a standard font size plus defining two extra classes: <p class="...
0
votes
1answer
15 views

Any way to permanently translate themes?

For the reason beyond my imagination Wordpress never had chance to get real theme updater (i.e. the one that would actually update only changed files) and instead offers a-joke-called-updater, that ...
0
votes
0answers
37 views

Sort custom post type by a custom field from another custom post type

I have a custom post type called "listings". When adding/editing the listing, the user can choose enter the ID of a "Plan". I also have a custom post type called "plans" which contains some fields ...
0
votes
1answer
17 views

Get css class of menu item in custom menu structure

So, I've created custom markup for a menu. The functionality of the menu is built like so... <?php $parent = array(); if (($locations = get_nav_menu_locations()) && isset($locations[...
0
votes
0answers
19 views

In a Gallery with limited image posts, how do I not limit images on single post?

I created a function for a theme that limits the amount of images displayed in a gallery. This is within the Gallery post format. However, I want to limit gallery images on all pages except for the ...
0
votes
3answers
42 views

Where to put custom page templates in theme?

I am building a theme (parent theme) and I was advised to put custom page templates in theme root folder. I am copying theme twenty fourteen and found this theme using a separate directory called page-...
-4
votes
1answer
33 views

Email Masking in widget

I have a wordpress website in which we have used widgets and we have added html mail like this <a href="mailto: myemail.examlple.com"> my email </a> I want to protect this email id ...
0
votes
1answer
48 views

is using the_posts_navigation() required?

I want to create a theme and get it approved on wordpres.org and want it having number page navigation: The HTML code should Bootstrap 4's navigation component. i can accomplish the above with an ...
4
votes
2answers
101 views

Custom attribute for the title tag with wp_title()

Can i add the itemprop to the title element and still use wp_head() and add_theme_support( "title-tag" )? I want to create a theme and get it approved on wordpres.org which uses microdata. The ...
3
votes
1answer
20 views

What function to hook for changes made in status and visibility of a post

I have a function to run every time a post is published or updated in anyway. Right now I am doing function myFunction(){ //Do Something } add_filter('publish_post','myFunction'); add_filter('...
0
votes
3answers
44 views

Shortcodes do not work in own template

I have a big problem rendering shortcodes in my template I designed for my Tennis Club which works fine. However, now I wanted to integrate the standard WordPress Gallery, which is implemented by a ...
0
votes
0answers
28 views

Activating theme in local MAMP installation results in HTTP ERROR 500

I have a local WordPress installation in a MAMP server that was working fine and after a period of time without using it I come back to it and I get a HTTP ERROR 500. Couldn't figure out how to fix it ...
0
votes
0answers
19 views

Fallback dosen't work when not using 'menu' attribute

I want my fallback function to be called when the menu doesn't contains any items. And if I specify the menu name, it works. But not when as I below comment away that attribute. Now nothing happens. ...
0
votes
1answer
22 views

How to add & show new fields in posts in Wordpress

Im have created post types called news in wp-admin which will be able to add New News and display on News page. Here are some screenshot first look at them, that is how i want to display stuff. ...
-1
votes
1answer
17 views

How can I get rid of the distance when I'm using list-style-type: none? [closed]

I am using the following code (output html) to get my comments displayed. But there is a space because of the list-style-type: none; I used. How can I get rid of this? This is the fiddle
0
votes
0answers
15 views

Why are the author and the date not displayed next to the avatar in comment section?

I got the following code: jsfiddle.net/xg0waxL7 In this Fiddle it looks good but the problem is that WordPress displays just the bottom comment like I want it: prnt.sc/b7yaq6
0
votes
0answers
57 views

How to upload theme: wordpress org Theme upload error

im checked my theme through theme check plugin. result : im failed upload wordpress org theme upload. having a problem uploading my theme to wordpress as the initial theme check fails with the ...
0
votes
0answers
16 views

Not Able to Get Custom Post Type in Single and Single-custom-post-type

I have a custom post type called projectsCPT and I am able to display them on page-projectsCPT.php <?php /* Template Name: Projects */ get_header(); ?> <div class="container" style="...
2
votes
2answers
43 views

Metabox Not Showing on Custom Post Type But On Pages and Post

I have a Custom Post Type like function cpt_Projects() { $labels = array( 'name' => 'Projects', 'singular_name' => 'Project', 'menu_name' ...
0
votes
1answer
23 views

get_option in header.php not returning value from customizer

I've set up a new section in the customizer called Social Links, under which I've set up an option and text field control called Facebook. Here's the code in my functions.php: // SOCIAL LINKS $...
3
votes
2answers
43 views

Finding Page Template and Displaying Content

So, I'm building a theme for a client with one page layout functionality. Currently, I'm allowing the user to create a parent page, and the modules within that page are separate pages that will be set ...
1
vote
1answer
87 views

Load a page into a div with Ajax

I'm really a noob when it comes to Wordpress, right now I'm working on a theme that basically is all static, if you want to edit something you'll have to edit the .php file than rather doing it on the ...
0
votes
1answer
24 views

underscores use of the article element on the page template

I understand and what I have seen the most is the use of the article element for blog/news posts. This makes total sense to me. article element to be used for content that can stand alone or ...
1
vote
1answer
35 views

How to To Filter wp_enqueue_script() Scripts on Some Pages

I am using following code to add some scripts in WP pages like function add_js() { wp_deregister_script('jquery'); wp_register_script('jquery', "http" . ($_SERVER['SERVER_PORT'] == 443 ? "s" : "")...