Search Results for 'child theme'

Results from the Forum
simchris
tagDiv Member

We also need the functions in child theme to work.
This is mandatory to enable custom over-rides for the site, turn off functions in things like Yoast for the menubar, specify custom optimizations, etc.

Child theme functions.php must be enabled for this theme to propagate both professionally and for the WordPress community to support it – period.

This includes over-rides for removing “versions” on javascript and CSS and font calls, removing RSS enclosures, removing error messages at login hack attempts, changing the WP post revisions interval and numbers, etc., etc.

This is one of the core functions (pun intended) for having a child theme.

This may mean looking for another theme provider, after all, if this core function support is removed. I’m already having to do couple of hacks on every version for things still not fixed, and which are *still* not yet defaults (like author byline on post … why should this be optional by a hack?).

C’mon folks. Time to clean up some of the BASE LINE functions of the theme before getting too tricky with some of the other stuff with galleries, or sliders, or whatnot.

mibrahim_folio3
tagDiv Member

Hmm that not good. Any plans to bring support for child theme because without it, extending the theme is not possible.

Marius
tagDiv Staff

Hello,
From child theme nor work only the CSS. Sorry for the inconvenience.

Just edit the function you want to edit and on updates you can use a Winmerge or similar software to compare the changes.

Thanks for understanding

mibrahim_folio3
Participant
#0

Hi, Not sure if we can overwrite function in Newspaper/functions.php by using child theme as functions in Newspaper/functions.php are declared without “if ( ! function_exists(“.

What do you suggest if we cant to change functionality of any function.
Thanks

simchris
tagDiv Member

Hi,
I updated one of our two sites using this theme to 3.7 today and works 100%.

Still waiting on the bug fixes:
1) title links on posts/ indexes should *not* be linked (they are now; bug)
2) featured image top of post 700×409 not linked (should not, makes Google news skip image)
3) WP saying “1 update available” even though all plugs/theme up to date (gremlin!)

Otherwise works perfectly.

We’re using child theme for functions and css over-rides on dedicated server for our sites.

  • This reply was modified 12 years by simchris.
Atelier Helsinki
Participant
#0

Hi guys,

Having fun giving a bespoke look to this puppy. Cool theme and well done.

I have one issue with the main nav bar. Once a background colour is selected for a category, the nav stretches wider than the width of the container. Can you let me know how to limit the width of nav, so it fits neatly within the main container width?

On a child theme so let me know what files to copy over and will edit.

Thanks
Hash

simchris
tagDiv Member

I would also recommend adding a folder called /mods/ in your root for the theme, and put backups of your mod files there (meaning the files you make mods to – put the MODIFIED versions in there). This is a handy reminder when you go to do a manual update via FTP, to go “oh. duh. I need to over-write the new files with my mod files…”

Obviously, child theme support for these elements via functions.php would be preferable, but I haven’t gotten that far.

  • This reply was modified 12 years by simchris.
Marius
tagDiv Staff

Hello,

If you are using child theme for custom css the style.css from the child theme file will not change when you update.

simchris
tagDiv Member

Hi,
so far my experience is you can’t use Google’s NEW “responsive” ads unless you also add their custom CSS for the viewport to your child theme CSS (tricky).

Also, I found you can’t have ONE responsive ad unit for the top and sidebar.

So, for my setup I had to follow the 1.4 docs which show adding the old style two or three sizes for a topbar spot, and two sizes (300×250 and 250×250) for a sidebar spot.

The static ads don’t resize, a javascript peek is simply looking at the viewport depending on the starting screen size then feeding in the proper code to fit that space (e.g., 250×250 for ipad retina portrait).

In theory, to use full responsive adsense units you’d have to use the responsive ads section, paste in the complete code per space, then edit the CSS in your child theme to add Google’s viewport CSS for the class ID being used for their “new” format responsive ad unit.

I did put in a suggestion for tagdiv to possibly figure out how to make a new admin tab for the NEW (e.g., Sept./Oct. 2013) beta “responsive” unit ads from Google.

In theory, they may end up serving responsive units in place of the specified sizes anyway, at some point (meaning Google will do this dynamically …).

Hope that helped…. little bit of a trial and error to get proper sizes via the 1.4 methodology with the theme.

TOP BAR:
1) wider ad unit (728×60)
2) smaller ad unit

RIGHT BAR
1) 300×250
2) 250×250

HINT: go look at their live demo and resize browser to see the sizes they are using specifically since the actual sizes are not specified in the admin panel only the viewport sizes.

Christopher

vibiz
Participant
#0

Hi,

I have a specific problem, where I encounter this only on this theme.

Basically, I have a menu and sub-menu. Let’s call the menu as menu A, and menu A has submenu B and submenu C.

On the main navigation, I set the submenu B and submenu C as the child of menu A, so if user click on the small arrow on the right side of menu A they can see submenu B and C.

The problem, as I specify above, only occurs on Ipad/Galaxy Tabs. Iphone, BlackBerry, and PC users don’t have this problem. The problem is this :
– In the homepage, I hover on menu A, and I have no problem accessing menu A, or submenu B and submenu C.
– If I navigate to menu A, I can still go to submenu B and submenu C.
– But if I navigate to submenu B, I can’t go to menu A (I can still go to submenu C). If I hover above menu A, the link still shows that it will take me to menu A, but in reality it will still goes to submenu B. Clicking menu A will take me back to submenu B, not to menu A.

Basically, I can say that if I goes to the submenu, the navigation will not allow me to go to its respective parent folder, although the navigation still clearly show that I am able to go to the parent folder.

Marius
tagDiv Staff

Hello,

You can use Child theme and add you custom CSS in Appearance -> Editor or in style.css of the Child theme. Just instal the Child theme like a normal theme and activate it.

mertnuhoglu
Participant
#0

Hi,

I would like to learn how to translate the front end of the theme.

I use the newspaper-child theme.

I copied the “translation” folder into the child theme.

I opened the “default.po” file in Poedit and saved my changes as “default.mo”.

Then I uploaded the “translation” folder.

But nothing changed.

Here is a sample page:

http://hayatdefteri.com/124/kamp-yapacaklarin-yaninda-goturmesi-gereken-10-malzeme/

I translated “similar articles” as here:

#: D:\xampp\htdocs\wp_008\wp-content\themes08\includes\app/td_translate.php:29
msgid “SIMILAR ARTICLES”
msgstr “BENZER YAZILAR”

But the title “SIMILAR ARTICLES” is still in place.

Marius
tagDiv Staff

Hello,

I’ve tested the Child version and work fine. Do you have the latest version?

Can you send us a screenshot with the issue?

AngelOdyssey
Participant
#0

When I activate the child theme the design breaks.

simon
Participant
#0

Hi

I’ve been running my site (www.wowdiets.com) with the Newspaper theme for a couple of weeks. I’ve had the sidebar on the right but want to switch it to the left. I’ve changed the options for all pages templates to left sidebar. On some pages the sidebar is on the left, on some the right. I’ve tried with W3TC disabled and have cleared my browser cache. Any ideas?

Simon

Edit: I’m on version 1.4 of the template with a child template. The only change in the child template is to add Google Analytics in the header.php

olefredrik
Participant
#0

I have installed the Newspaper theme, or actually a child theme referring to Newspaper on my local development environment (MAMP). Test data are installed and now I ‘m playing around with the theme customizer. Uploading new logo, changing colors etc. works fine .. until I click a link and get a page refresh. My settings does not seem to be saved correctly, which makes the customizer useless. Am I doing something wrong or is this a bug? Would appreciate a quick reply!

Viewing 16 results - 12,851 through 12,866 (of 12,866 total)