Modifications to theme and plugin files to create new functionality.

learn more… | top users | synonyms (17)

0
votes
1answer
51 views

Creating widget - ask for selecting a post in the admin panel

First of all, sorry for my English, I'll try to make it understandable. I'm new on WordPress; I already have created a few plugins but they didn't needed admin configuration. Now I'd like to make an ...
0
votes
1answer
70 views

How to add span on WordPress Title for first and third word

I need to know how to add a span to title post, not only for 1 word, but 2 or 3 words as I need. For example I have a normal title like this: Lorem ipsum dolor sitamet consectetur adipiscing I ...
0
votes
0answers
43 views

Help needed with Wordpress Function/Loop please

I mostly come from a Front End/Design background and have built a few sites in Genesis/Wordpress but I am now delving into the world of making Custom Posts and pages through using a variety of ...
0
votes
1answer
67 views

Hide content and functions from specific user roles

I'm working on a theme and i am wondering how i can hide specific content and functions from certain user roles via PHP. I am working with a lot of prebuilt functions so what i am after is some code ...
0
votes
0answers
21 views

Multiple Custom Post Type loop logic

In short this is what I want to archive: [template body] - default post title - default post body [custom loop | tabs] - tab 1 -- tab 1 title -- tab 1 content --- related articles to tab 1 by ...
0
votes
0answers
16 views

How to create some “theme settings” page in admin?

I'm using today some PHP constants in my functions.php to define default info about my company, as follows: define('COPYRIGHT', 'copyright_text'); define('CONTACT_EMAIL', 'oi [arroba] studiosolo.net')...
0
votes
1answer
45 views

Advanced Custom Fields: Sorting custom columns with custom fields sorts only by date

I have a custom post type – “members”. With help of Advanced Custom Fields(AFC) I’ve created a Field Group with 5 fields and assigned that group to my “members” post type. I followed this article to ...
-4
votes
1answer
29 views

How to remove the intro animation which appears during the load up of some Wordpress themes? [closed]

How do you find and delete the code which makes the loading animation at the very start of every page on many wordpress sites appear? Sometimes the animation is a simple loading wheel gif image and ...
-1
votes
1answer
33 views

Advise on Custom Taxonomies and Structure

I am building a sporting website with the following structure Categories Events (Like Superbowl 2017) Deals (Posts like "Fly to USA to Watch Superbowl for $1000" etc) News (Posts like "Sanfransisco ...
0
votes
0answers
30 views

Pagination custom post type & custom taxonomy

I'm having a problem with my pagination for the category page of my custom taxonomy. This page displays custom post types on the first page of the category. But when I try to go to the second page, it ...
1
vote
1answer
71 views

How to Get WordPress custom post data in WooCommerce product meta panel?

I have created one custom post in WordPress and also created one custom panel in Woocommerce product attribute panel. Now, How I can display all the content of WordPress custom post into the ...
0
votes
1answer
49 views

Show different pages on site depending on user choice

I am building now a Wordpress site that has a automatic opened popup on the first page which gives the users the possibility to choose between 2 options (ex if they are private customers or company ...
0
votes
1answer
10 views

Is there a way to limit multi upload in media upload box?

What I'm trying to learn is to remove multiple upload (and drag&drop). I want a user (vendor) should be able to upload only one file when clicks on upload button. Instead of completely removing ...
0
votes
0answers
24 views

How to add comments on a custom page with URL parameter?

I tried to look for this for several days but I can't find anything. Maybe I'm not using the good "words" so I hope someone we'll guide me in the right way. I am building a custom page with a list of ...
0
votes
0answers
8 views

How to limit upload count once per session?

I'm trying to create multi vendor marketplace, What I need to know is to remove multiple upload (and drag&drop). I want a user (vendor) should be able to upload one file. Instead of completely ...
0
votes
1answer
32 views

Worpress search for specific Post Type

I am doing a wordpress site and use a custom post type 'studentinfo'. I want to build a search form and search template that will retrieve only search result from the specific post type studentinfo. ...
0
votes
1answer
23 views

Custom Theme Blog page not showing Posts

I am developing my custom theme in WordPress from scratch. Now when i am working with my blogs page its not showing any of the posts i have changed my "index.php" page but i think there must be some ...
0
votes
1answer
36 views

Accessing data from a non-WP database/table within a page content

I'm trying to convert a home built (PHP / MySQL) set of web pages to WP. I've installed the theme I want and have some basic pages working OK. However, I have a set of data within a MySQL database ...
0
votes
1answer
23 views

Gallery IDS and Captions: hide/show on a per ID basis

I am aware of hiding captions in a gallery via css on figcaption, like .wp-caption-text/.gallery-caption for example. What I am looking for is a way to have custom control of hiding captions on ...
0
votes
1answer
17 views

Ordering a specific post type

I'm trying to figure out how to order my posts by a custom field. I'm using a calendar (The events calendar), with a custom field called 'artist'. It works, though my query request affects all other ...
0
votes
1answer
52 views

Show Posts By Custom Field

I’d like to add 2 custom fields to my posts: show_post_on_home_page home_page_posts_order_sequence I then want my home page to show only the posts where show_on_home_page == true, ordered by ...
0
votes
0answers
23 views

How to make multiple taxonomies hierarchical?

I have 4 custom taxonomies - Board, Standard, Subject, Chapter for my edu blog. I want to make one taxonomy under the other like Board > Standard > Subject > Chapter for listing. I have already been ...
1
vote
1answer
59 views

Only append custom classes to nav menu items

I was reviewing this extremely helpful post on cleaning up WP-generated classes and ids from the nav menu, and found RevelationTravis's option-- see code below-- to be particularly good as a way to ...
0
votes
3answers
29 views

Custom Content Page

We've made a whole lot of templates for different types of blog posts. However, we also want to do fully custom 'power pages' that do not follow the WordPress theme we are using. These pages would be ...
0
votes
0answers
20 views

How to avoid duplicate post entry admin page

I am building a cinema website with different custom post types. How do I avoid duplicate post entries? For example, I have a post type: Trailer First I add a trailer Terminator. After if I add ...
0
votes
0answers
33 views

How to add elements to admin-pages?

i think i just need a push in the right direction. I wrote a plugin for wp/woocommerce which works ok. Now i want my plugin to add a button to the normal "edit-product"-page ( to call one of the ...
0
votes
0answers
50 views

Custom Post Type and Functions

There is a very poor coding practice among freelancers that they create individual pages for every custom post types, but I think there is a better way to do this by Creating functions in functions....
0
votes
0answers
27 views

change url for static files in /wp-admin with a cdn url

I recently purchased a CDN and used a plugin to change the site url for all static files in the "/wp-content" and "/wp-include" folder to the cdn url. Is there a way to change the site url for ...
0
votes
0answers
6 views

jigoshop additional input fields in add to cart form as notice

I asked this on stackoverflow, but nobody noticed it so I'm asking in the more specific place. I have created a customization shortcode, where the client can add personalizations like name to the ...
0
votes
2answers
32 views

Integrate Woocommerce to a custom theme

I have created a custom theme. Now I want to add WooCommerce to that theme but it doesn't work like the way it should. After install of the WooCommerce plugin I followed all provided steps.All pages ...
0
votes
0answers
55 views

Customizer Api: Load settings and controls from dynamically generated array

I have a front_page setting like so: $wp_customize->add_section( 'front_page', array( 'title' => __( 'Front Page' ), 'priority' => 120, ) ); I am trying to allow the user to do ...
0
votes
0answers
27 views

Override a __construct function in child theme

I'm trying to override a loop function in a child theme. I've tried a lot of things I found on google, but something fails, sometimes nothing change, sometimes I get a 500 error. This is the original ...
0
votes
0answers
40 views

SQL to update custom post field

I tried to update a custom field but I can't to this... I have a custom post that that I used for a fill months. Now I create a new date custom field called "data-edital". On the new posts, I put the ...
0
votes
0answers
79 views

Custom Password Complexity

How can I go about changing the built-in password complexity? Using latest wordpress and woocommerce. When a user goes to register with a password, they are shown a password meter and can only ...
0
votes
0answers
19 views

Ajax filter already filtered custom post list

Clearly relatively new to WP so this might be a dumb question but here it goes. I was able to fetch a custom post list of filtered posts in a specific price range (max.value of $100). Now I want to ...
0
votes
0answers
17 views

Having a forum in a subfolder

I have a standard wp site in www.example.com Also have a smf forum in forum.example.com What do I need to do to put the forum in www.example.com/forum ? I guess this involves two parts: redirecting ...
0
votes
3answers
74 views

call get_header() function from different theme

When i create a new page, i want to choose different theme. I know about Multiple Themes plugin but i'm thinking something else. Install three different themes, activate only one and then creating a ...
1
vote
2answers
88 views

wp_enqueue_scripts not called on search page?

I've written a custom theme. It's pretty complex so I won't post a huge code block here for everyone's sanity. In my functions.php file I have the following hook being called: function ...
1
vote
1answer
56 views

Modify custom field input data before creating a new post

I'm try to check input data before it is added to DB. For example: I have a custom post meta named book_isbn in post page. I want to make sure that this variable $_POST['book_isbn'] is valid before ...
-3
votes
2answers
156 views

How to hide WordPress files / structure? [closed]

Which is the best approach to hide WordPress, preferably everything from folders and files, to admin login ? I'm pretty new to that stuff, so I'll prefer a plugin ratter a custom code, unless it's ...
1
vote
1answer
443 views

Widgets not working in Customizr but working in Appearance

I'm having some trouble with my widgets. I've registered widget areas correctly; as the widgets are showing up in the "Appearance" menu. However widgets aren't showing up in the Customizr section of ...
1
vote
1answer
68 views

creating a custom shop page display on archive woocommerce

Hello guys how are you? i am not that good at developing websites and i need to have more experience. can you guys help me? i had an idea on the screenshot i have on the link below. as you can see i ...
1
vote
0answers
39 views

Child Theme with multiple css files

I know this is a frequently asked question but I don't resolve it. I have make a child theme of a theme with multiple css file and I'm trying to copy them but I probably don't enqueues css files ...
-2
votes
2answers
115 views

How to get value from wp_usermeta table in database?

I ad a custom field to registration form: function wooc_extra_register_fields() { <p class="form-row form-row-first"> <label for="billing_cpf"><?php _e( 'CPF', 'woocommerce' ); ?> &...
1
vote
1answer
42 views

How to check post type (to include custom css)

I need to check the post type. If I put this in my functions file: echo "the post type is" . get_post_type(); the message just becomes: "the post type is". Is the post type checked to early? Do ...
1
vote
0answers
17 views

A form that can save/edit after first input

I need a form on my WordPress website that users can input information into through dropdown fields.But i just dont want the information to go away after sending.I need them to still be able to come ...
2
votes
1answer
77 views

Theme Customizer not loading

I have created a new theme and i use it in some of my sites (multisite) but at one site the customizer preview does not load (spinner never stops). Loading the customizer preview of other themes work ...
1
vote
0answers
19 views

Static admin page for all multisite users

I want to have a stats page that all my multisite users can see, it'll give info on the network like number of users, number of posts, number of blogs, some graphs, etc. In the admin bar, i've ...
-2
votes
1answer
19 views

How to apply styles to the custom page template

I have made a simple page template according to what is said in the how to here :Page Templates When I create a page and in its 'Page attributes' make the template equal to the one I've created, ...
1
vote
1answer
55 views

Creating loop within functions.php

I'm using Woocommerce on my website, on the checkout page I've got a custom select checkout field with radio buttons. I'm using this working snippet within my functions.php: /** * Add the field to ...